Access problem in web application

          Hi,
          I have one problem with bea weblogic server 7.0 i need to have access to a jsp
          in the WEB-INF repository and by default, weblogic doesn't give this access.
          What can i do?
          thx
          

          Copy jsp file to the DefaultWebApp directory.
          "Gilles Follic" <[email protected]> wrote:
          >
          >Hi,
          >
          >I have one problem with bea weblogic server 7.0 i need to have access
          >to a jsp
          >in the WEB-INF repository and by default, weblogic doesn't give this
          >access.
          >
          >What can i do?
          >
          >thx
          

Similar Messages

  • Access Reliability in Web Application

    Does anyone have recommendation on using Access database in
    Web application.
    I have always used Access, but recently heard that it can
    cause great problems if more than one user is accessing information
    at the same time.
    Is there anyway around this or do I need to switch to MySql?
    The application is written entirely within Coldfusion, using
    a DSN for the Access DB.
    This is a small application and it would be rare that more
    than one user would be into the same table at one time but it could
    happen, as there is a login and the users table would be accessed
    each time someone logs in.
    Any insight would be helpful. I really don't want to have to
    redo the database.
    so far there have been no problems but I would be in a fix if
    the system crashed.
    Thanks.

    quote:
    Originally posted by:
    TJ_onTheWeb
    Thanks for the feedback.
    My next client application will be using MySQL on a Unix Web
    server so I am setting it up for development on the local server.
    Regarding the Coldfusion Application which is currently
    running on the web, using an Access database, how disruptive do you
    think it would be to migrate to MySQL from Access?
    Anyone have experience with this?
    Thanks!
    The work might not be hard, but there is an awful lot of it.
    I changed one from Access to Oracle once. What I did was:
    1. Create the Oracle tables and sequences.
    2. Transfer the existing data to the new db.
    3. Test every single query and rewrite the ones that needed
    it.
    So far there is no disruption to your production app, until
    now.
    4. Take the production app offline to freeze the data.
    5. Bring the new db up to date.
    6. Put your new app into production.

  • Problems access to a web application (Web Interface or Web report)

    Hi,
    We found problems with the access to web application. Some users have problems with direct links to the web applications(Web Interface or Web reporting), when they click on the link an error message appears, the message displays the following text:
    "Cannot open file Bex?sap-language=ENbsplanguge=ENcmd=idoc_TE.."
    Clicking in details the message is "No Access to specified file"
    For this users the access to excel reporting is correct, the message appears when they click on the direct web links through the browser or directly in BW system, but if they type the URL they can access. Other users can use the direct web link without problems.
    I highly appreciate any help or idea about how to solve this issue.
    Thanks in advance.

    HI,
    please ask to your basis that check the language of every single user on su01 tx.
    This is the problem i think.
    Natalia.

  • 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;

  • Secure and non-secure access to the web application in one war

    Say we have one web application (in one war) which includes JSP, servlets and the security intercepter. There is one business requirement to have most of the JSP(s) accessed via HTTPS, but a few JSP(S) accessed via HTTP.
    My questions are:
    a. Is this possible, or a reasonable requirement or a good practice?
    b. if yes, what can we do to make it happen in the security intercepter implementation?
    c. If not, what is the technical reasons?
    Thanks much.

    a) Yes its is reasonable and good practive, there is an overhead using https, so you should only encrypt file you need to. When you use an online store, only account details / payments are https, the shop itself is http
    b) I dont really understand your difficulty. You can define a folder as 'secure' and put all your secure pages in this folder, leaving non secure files in a different folder. Whenever a page in the secure folder is accessed, https is automatically invoked.

  • Problem deploying web application on WLS 8.1

    Hi,
    When I try to deploy a web application on weblogic 8.1 it comes back with success.But
    trying to access it or testing it through admin console gives me the following
    erors -
    403 - Forbidden or
    404 - Not found
    Here is what I am doing
    My web application is in a war file called paypluscls.war that I've saved inD:\bea\user_projects\domains\mydomain\applications
    folder. My weblogic.xml reads like this:
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>d:/bea/user_projects/domains/m
    <url-pattern>/paypluscls/*</url-pattern>
    </virtual-directory-mapping>
    On deploying the application I get success message, but when I try running it
    using the following in my browser : http://127.0.0.1:7001/paypluscls i get 403
    forbidden error
    and if I try http://127.0.0.1:7001/paypluscls/index.htm , i get 404 file not found
    error. Please note that index.htm is present in my paypluscls.war.
    What am I doing wrong? A quick response will be highly appreciated.

    Define a context-root element in weblogic.xml
    <weblogic-web-app>
    <context-root>paypluscls</context-root>
    </weblogic-web-app>
    Get index.htm with url:
    http://127.0.0.1:7001/paypluscls/index.htm
    "vikas" <[email protected]> wrote:
    >
    Hi,
    When I try to deploy a web application on weblogic 8.1 it comes back
    with success.But
    trying to access it or testing it through admin console gives me the
    following
    erors -
    403 - Forbidden or
    404 - Not found
    Here is what I am doing
    My web application is in a war file called paypluscls.war that I've saved
    inD:\bea\user_projects\domains\mydomain\applications
    folder. My weblogic.xml reads like this:
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>d:/bea/user_projects/domains/m
    <url-pattern>/paypluscls/*</url-pattern>
    </virtual-directory-mapping>
    On deploying the application I get success message, but when I try running
    it
    using the following in my browser : http://127.0.0.1:7001/paypluscls
    i get 403
    forbidden error
    and if I try http://127.0.0.1:7001/paypluscls/index.htm , i get 404 file
    not found
    error. Please note that index.htm is present in my paypluscls.war.
    What am I doing wrong? A quick response will be highly appreciated.

  • Shared folder access problem in j2ee application

    Hi,
    We are using SAP Netweaver 04s JAVA system.
    In our j2ee application we are trying to access shared resource(file), but ejb is giving exception. Our code is as follows:
    File srcDir = new File("\machine_namefolder");
    if(!srcDir.exists())
    {throw new Exception("directory does not exist", srcSys);
    It gives expection "FileNotFoundException".
    The same j2ee application is working fine when deployed on IBM Websphere.
    We trired to access same shared path from windows, it is also working.
    Please help us. Thanks in advance.
    --sagar

    Hi,
    Please follow Shared Folder acess problem in J2ee application.
    -Vladimir

  • Oracle Access Manager 11gR2 Web application: "oam" failed to preload

    Any pointers for troubleshooting this error?
    Managed Server starts up but fails to start-up "oam" deployment.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "AMInitServlet" failed to preload on startup in Web application: "oam".
    java.lang.ExceptionInInitializerError
            at oracle.security.am.pbl.transport.http.AMInitServlet.initializeAmServer(AMInitServlet.java:113)
            at oracle.security.am.pbl.transport.http.AMInitServlet.init(AMInitServlet.java:79)
            at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
            at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
            at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
            at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
            at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
            at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
            at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            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:52)
            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:671)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
            at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
            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.StartOperation.doCommit(StartOperation.java:149)
            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:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.NullPointerException
            at oracle.security.am.pbl.diagnostic.DiagnosticUtil.<init>(DiagnosticUtil.java:80)
            at oracle.security.am.pbl.diagnostic.DiagnosticUtil.<clinit>(DiagnosticUtil.java:65)
            ... 45 more
            at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
            at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
            at oracle.security.am.pbl.diagnostic.DiagnosticUtil.<init>(DiagnosticUtil.java:80)
            at oracle.security.am.pbl.diagnostic.DiagnosticUtil.<clinit>(DiagnosticUtil.java:65)
            at oracle.security.am.pbl.transport.http.AMInitServlet.initializeAmServer(AMInitServlet.java:113)
            at oracle.security.am.pbl.transport.http.AMInitServlet.init(AMInitServlet.java:79)
            at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

    SOA is not required. WebGate is a separate installation, separate from where you install the Oracle Access Manager.
    Oracle Access Manager is like the management station, WebGate would typically be installed on a host where a Web Server is running. So WebGate running on the WebServer host would be used to provide access control functions for web pages hosted on Web Server. You will have to do the configuration of WebGate separately after Access Manager has been installed. Please mark answer helpful/correct if helpful.

  • Direct File System access problems from JAWS application

    Hello,
    I have built a Web Start application that consists of a Webserver (Jetty) ,
    a WAR file and a Java (main) class that deploys the web application on
    the server and starts the server. It all works fine, apart from the fact
    that I am getting java.security.AccessControlExceptions when I try to
    access the local filesystem or system variables like the java.io.tmpdir.
    I have signed all the jar files and I included the<security> <allpermissions />
    </security> tag in the jnlp file. Still, I can't seem to get out
    of the sandbox.
    I have read in this article (http://mindprod.com/jgloss/javawebstart.html)
    that direct file system access from a Web Start application is impossible
    (Quote: "There is still no way for even a signed JAWS app to
    find some persistent disk space in an easy way. It pretty well
    has to ask the user for the name of some directory to use.")
    Is this true?
    Thank you,
    Peter

    Hi Guys,
    I found a way to access the local filesystem...
    Besides signing all the jar files and including the<security><allpermissions /></security> tag in the jnlp file I have to include this line in the code I execute on the client machine:
    System.setSecurityManager(null);
    Regards,
    Peter

  • Serious problems deploying web application with enterprise manager

    Hi all,
    First I have to say that this thing that has happened to me today is freaking bizarre... I was trying to make a new deployment of a web application on OAS 10.1.2, using the Enterprise Manager. The application is using Spring and DWR, therefore it has some XML files included. The application worked perfect in JDeveloper 9.0.4, our development tool, and I've previously developed very similar applications in the past, and deployed them on the same server without any problem.
    Today, when I was trying to deploy my .ear file, I got this error message:
    The file specified, "FindAnExpert.ear" is not a valid ear file.
    I tried with the .war file, and this happened:
    Base Exception:
    java.util.zip.ZipException
    invalid END header (bad central directory offset). invalid END header (bad central directory offset)
    I checked that all the included .jar files were fine, I even replaced them with new ones. I started to remove files from the .war file and discovered that without the XML files I was able to deploy the application. Then I copied over those XML files through FTP and the application is working correctly, but I was not able to use the Enterprise Manager to deploy it!!! The XML files are well formed, on of them contains the details of a data source that I also reviewed to be sure that it was correctly configured... This is nuts... any ideas over there???
    Thanks in advance,
    Luis

    Luis,
    If all of the files uploaded piecemeal worked fine, then I believe your problem to be with your deployment descriptor(s). Also, note that the .war file lives in a different directory:
    C:\oc4j\j2ee\home\applications\Application-Name
    Perhaps if you have time you could post all of the associated deployment descriptor files. Log files from the C:\oc4j\j2ee\home\log\oc4j directory would also help to troubleshoot your deployment issues. You can turn up the logging level to "FINEST" for maximum output to your log file.
    -Michael

  • How to access deployed J2EE Web application ?

    Hi,
    I am new to J2EE Web Application. I have created a Web Module project and in that I have created a servlet. I did a build for WAR file. I have created an Enterprise Application Project and included this WAR file. I built  the EAP and deployed it to J2EE engine. I am successful till here.
    I am not sure how to access this deployed application and thus this servlet.
    I tried to access the following way :
    http://<hostname>:<portnumber>/<EAPName>/<ServletName>
    However, I receive the error no such location.
    In the web.xml file, in the servlet-mapping section, I have mentioned the servletname and urlpattern.
    I have mentioned the urlpattern as MyServlet and not /MyServlet. Notice the 'backslash'.
    Could this be an issue ?
    Regards,
    Subramanian V.

    Hi
    See this Thread
    Re: servlet ----->url association ?
    Re: Servlet not getting loaded when put in a jar file
    Re: I just want to run a simple servlet. No EJBs, no Web DynPro...
    /message/610344#610344 [original link is broken]
    Kind Regards
    Mukesh

  • Problem debugging web application in tomcat for jwsdp

    Hi everybody!
    I have the following problem:
    I have a web application with jsp's and servlets and using IDEA Intellij and tomcat for jwsdp when i run the debugger i get the next message:
    Check your run/debug configuration. Failed to establish connection to the target VM at
    '127.0.0.1:3505' using socket transport
    That problem don't occour me with other version of tomcat but i need the version for jswdp because i use other web application with web services.
    Somebody know how my problem can be solved?

    I struggled with this for awhile until I found the following entry in an IntelliJ forum:
    You have to use zipped Tomcat distribution, it contains the necessary batch startup scripts.
    Also take a look at this guide: ftp://intellij.net/pub/.idea/TomcatTutorial/TomcatJspDebug.zip
    Using the zipped version of Tomcat solved my problem.

  • IWS60SP4 Additional Document Directories Problem with Web Application

    We have iPlanet/Sunone WebServer 6.0 Service Pack 4 installed. I have deployed a web application using the wdeploy command line. I have defined an additional document directory that is outside of the web application and document root. No matter how many ways I try it, it seems to expect that the document root is the source of the files and totally ignores the additional document directory definition.
    Example:
    additional document directory: /add /opt/dir1/dir2
    document root: /opt/doc/root
    URL given: http://my.domain.com/uri/add/file.html
    expected: to get file.html out of /opt/dir1/dir2
    actual: fails, trying to get /opt/doc/root/add/file.html
    Do additional document directories actually work? (They worked for us under iPlanet 4.1) If so, please tell me how to make them work with a deployed web application.
    Thank you.
    - Tom

    In the original post you state:
    Example:
    additional document directory: /add /opt/dir1/dir2
    document root: /opt/doc/root
    URL given: http://my.domain.com/uri/add/file.html
    expected: to get file.html out of /opt/dir1/dir2
    actual: fails, trying to get /opt/doc/root/add/file.html
    You are mapping /add to the new dir. The URL you would need to type then is:
    http://my.domain.com/add/file.html
    not
    http://my.domain.com/uri/add/file.html
    Mapping /add to a new dir will work. You do not need to specify /uri/add.

  • Chart problems in Web-Application Designer

    Hello,
    I am trying to use CHART in Web Application Designer.
    But whatever TYPE I select in that (pie/stack/..),
    It shows the report with default chart type..
    Then after one /two trials, I have run time error. & Web application Designer crashes. In preview of that chart on template, it shows the chart type I have selected.
    What am I missing in my steps. Or is some library missing..
    Thanks for you suggestion.
    Is very urgent & as I need to show report tomorrow.
    Regards,
    Santosh

    Hi Santosh,
    <b>Defining the Width and Height of the Entire Chart</b>
    in the Properties
    Enter the desired values in fields Width and Height of the window in which you are editing the chart. The entries should be in pixels.
    Choose Apply.
    The size of the entire chart is changed according to your specifications.
    Changing the Size of the Entire Chart with the Mouse
    Point to the border of the preview window with the mouse.
    The cursor becomes a double arrow.
    Click on the border and pull the preview window to the required size.
    The size of the entire chart is changed when you let go of the mouse key.
    Changing the Size of the Plot Area or the Legend with the Mouse
    Click on the element whose size you want to change (plot area or legend).
    The element is enclosed in a move handle.
    Point to one of the move handles with the mouse.
    The cursor becomes a double arrow.
    If the cursor does not become a double arrow, you might not have selected the right element, for example the chart area instead of the plot area. In this case click again on the element whose size you want to change.
    Click on the move handle and keep the mouse key pressed.
    The cursor becomes a cross.
    Pull the element to the desired size.
    The size of the element is changed when you let go of the mouse key.
    Avoid stretching the plot area over the whole area of the chart. The outermost border of the plot area disappears from the visible area in this case and cannot be clicked on again. You cannot change the size of the plot area. If you made the plot area too large by accident, you can undo it with the menu option Undo in the context menu. You can reset the plot area to its original size with Reset, but you will lose all the changes you made to the chart.
    <i><u><b><b><b><b>
    It is simple issue D't worry..And one morething is  Check the <b>Specific Properties</b> of the Template</b></b></b></b></u></i> in Design of the web template.
    Thanks
    Bhima Chandra Sekhar

  • Accessing the external web application through web clipping portlet

    We have configured the web provider with the following details:
    1) Accessed the web provider with the
    URL
    http://hostname/portalTools/webClipping/providers/webClipping
    2) Accessed Edit link beside the HTTP Proxy under Provider Configuration.
    logged in as Portal Administrator.
    We haven't changed any values in Repository Settings.
    Under Proxy Settings
    Configured the HTTP proxy field with proxy server name e.x: proxy2.company.com.This is configured to browser
    wherver my application server is installed.
    portnumber value configured as 8080
    Checked the Requires Authentication.
    Selected Type as "Type"
    Realm value configured e.g: AD AUTHENTICATION Do not prefix mycomp\ with the
    username
    selected "Use login below for all users"
    configured the user name /password which I used to access my internet sites. (googl.com)
    All the above steps for provider configuration.
    login to portal for configuring webclipping portlet to a page.
    Followed the below procedure to add web clipping portlet to a page.
    1) From the portlet Repository, selected web clipping portlet and entered the URL location value as http:// www.google.com
    2) In the next step , It has thrown the below exception.
    An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-519 -- HTTP Proxy
    Authentication failed for proxy proxy2.mycomp.com:8080 with authentication of
    type "Basic" at realm "AD AUTHENTICATION Do not prefix mycomp\ with the
    username". Update your proxy login information in the Edit Defaults /
    Personalize page to authenticate.
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from
    the browser) to go back to the Oracle Portal page to restart.
    We have checked manually the provider.xml file for webclipping provider and the
    configured details are available in provider.xml file.
    Please let us know, what could be the problem and try to provde a solution at the earliest.
    This is very critical issue for us.if anybody have any suggestions on this , please do let us know.
    Regards,
    -Venu

    Either the login information is not correct (it explains it should not be domain\username but just username) or the authentication format from your Microsoft proxy server (Kerberos?) is not compatible with the Web Clipping portlet. You might get a better reply in the Portal forum about supported proxy authentication methods for the WebClipping portlet.

Maybe you are looking for