Deploy a web page in webserver

How can I deploy my web page in web server without the need of going for a build of war file

Well, it actually depends on the server you're using. I'll assume it's Tomcat.
If you want to deploy plain-text or HTML or JSP content, then like Originative said, you can simply drop into the /webapps/myProject directory and access them. You'll still need a /webapps/myProject/WEB-INF/web.xml though, even it's a dummy one.

Similar Messages

  • Crystal report viewer 13 are displaying blank page after deploying in web server

    Dear friends, i have designed crystal report (in VS2012 &  CRRuntime_32bit_13_0_8 installed in web server) it's working fine in machine VS2012, but when deploying in web server (Windows Server 2008 R2 64bit) it's getting blank page.
    I have read the http://adilmca.wordpress.com/2013/04/08/visual-studio-2012-crystal-report-not-working-on-windows-server-2012-0x800a1391-javascript-runtime-error-bobj-is-undefined/. But this is not working for me.
    I have copy the entire Crystal Report Support folder : C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13
    Please suggest me some solutions to resolve this issues...
    Regards, Stefano S.

    There is something "deeper" happening here (unless you're using dome old version of IIS (v. 6, etc.))... I think logging the app will help. I'd use Process Monitor first - see if you get any "Access Denied" messages. An http sniffing utility like Fiddler may also provide useful info.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • HTTP 403 forbidden message on deployed web page

    Hi there,
    Since the day i have deployed my web application I am not able to login to the web page.
    I am  getting error HTTP 403 Forbidden, have permission to view the webpage.
    ideally it should have taken to login page and then asked for permission and so on...
    What I have done so far?
    1. Given all the roles to the said user.
    2. Under security relams I have changes the password and tried to login again. But no help.
    3. Ironically, there is no error generated under logs....strange !!
    4. Check weblogic.xml and web.xml file to user mapping with the server and its role. All looks fine.
    5. Downgraded IE from IE 9 to IE 8 in hope if that works fine  or that could be the reason.
    Screen shot of deployed web page is attached here;
    Any clue or suggestion on such issue?
    Any hep would be appreciated.
    thanks,

    Hi there,
    1. Its Documaker 12.4, I am using IE 9 for Web Server. While using Chrome the page is getting blanked out, that is yet another issue.
    2. Console, DocumakeAdministratorHelp,DocumakerDashboardHelp etc are working fine and loading correctly. Since beigning the Admin page is not working.
    3. Seeing the premission error I tried to give all the roles to Administrator in Weblogic Security realms, wanted to see if that works but I do not think with DD Only Security any changed would have reflected in actual file. [Role - Documaker Administrator, User- documaker Pwd - JMS pwd]
    I did tried to change password, to see if that works but it was not working even then. Still getting Forbidden error
    Then I also tried adding servlet alias to the default URL and see if it takes mr to login page; (screen shot attached)
    Why all other default page is working with the URL defined and DocumakerAdministrator not working?
    I see in the URL that it is taking to ADF control page, can that be looked for permission?
    Thanks,

  • Hoe to deploy an RTP receiver applet on a web page?

    Hi... I am currently dealing with the RTPPlayerApplet that is embedded in a web page...
    However, i have the following errors when viewing the page...
    [Thu Jul 07 11:03:39 2005] [error] [client 127.0.0.1] File does not exist: C:/Apache-2.0.05/Apache2/htdocs/mystuff/MyTESTing4/media
    [Thu Jul 07 11:03:41 2005] [error] [client 127.0.0.1] File does not exist: C:/Apache-2.0.05/Apache2/htdocs/mystuff/MyTESTing4/jmfsample
    [Thu Jul 07 11:03:43 2005] [error] [client 127.0.0.1] File does not exist: C:/Apache-2.0.05/Apache2/htdocs/mystuff/MyTESTing4/javax/media/rtp/RTPSessionMgr.class
    Isit because i did not set the classpath for it? Or i stil need to custimize the .jar file?
    Can anyone help me to solve it?
    Thanks in advance.
    CArter

    I wish I could help you but this sample file is very out of date. I found the RTPPlayerApplet class and when I tried to compile it I found that half of the classes use have either been deprecated or don't even exist anymore. My advice is to try another sample.

  • How to allow my webserver to create dynamic web pages ?

    say i have created a pretty simple web server in java which can send and receive HTML files. How can i extend it to allow dynamic web pages ?
    thanks

    You know the part that takes some information from a request, and then loads the requested file?
    Replace that with something that takes that info and uses it to invoke some other functionality.
    No more detail is possible given the detail-less nature of your question.
    You do realize that you're reinventing the wheel, right?

  • Deploying Existing Web App With New JWS

    Hi all,
    I've been banging my head against a brick wall for a few days on this, but I'm sure it must be something trivial. Hopefully someone here will have some advice...
    In a nutshell, I'm working on an existing web application, running on Weblogic 8.1, in a clustered environment. I've added a new JWS web service which is largely standalone, but it uses controls from elsewhere in the application.
    Locally, on my development box, it works perfectly - I can run it from Weblogic Workshop, and see the handy test form to run the web service, as well as seeing the WSDL by pointing my browser at http://localhost:7001/app/path/Service.jws?WSDL
    However, I've now built the EAR for the whole application, and deployed it to our test environment (clustered - a mirror (hopefully!) of the production environment).
    When I go to http://test-box:7002/app/path/Service.jws?WSDL I see a nasty-looking error page that looks like:
    WebService ERROR
    Error:
    null
    Stack Trace:
    null
    When I try the same URL without the ?WSDL on the end (so just http://test-box:7002/app/path/Service.jws), I see the nice Weblogic Web Service page, showing that it knows there's something there, but it has no content, just the 'Overview' tab, followed by:
    Public Information
    about Service.jws Web Service
    and that's it - locally I see the same thing, but with options for viewing the WSDL and testing the service.
    I'm confident that the URL is correct, because if I put rubbish in, I get a different error message.
    Reading around, I've found lots of resources for 'how to deploy a web service to a production environment' for Weblogic 7, but much less for 8.1. I've seen references to jwsCompile, for example, which I think is specific to 7, because I can't find any references to it in the 8.1 docs, but perhaps that's wrong?
    I'm pretty sure there's a configuration setting I'm missing, or a step in the deployment, but I'm stuck as to what it is!
    Any advice gratefully received.
    Edit: I should have mentioned that there are two other JWS's in the same app, both of which have the same symptoms as my new one (they've been there for a while, but are unused).

    My gut reaction is that there might be an issue with the frontend settings not set up correctly, see 9.2 docs in lieu of 8.1 docs:
    http://edocs.bea.com/wls/docs92/webserv/setenv.html#wp220521
    You should also open a support case as they could probably identify your issue quickly.

  • ADF web pages not getting displayed inside the frame

    I am working with an Oracle Application called "Oracle Transportation Management"...to which our Development Group have asked to log an issue to this forum thread. Please let us know if you can assist:
    Client has added an external link to an ADF web page in OTM and when they click the link, it gives an error message saying it cannot be displayed within frame. Per the client, if they add frame busting to the deployment descriptor, it makes other screens in OTM to open in new window.
    ERROR:
    Warning: Unable to load content in a frame. Frame content will load at the top level.
    we tried setting "oracle.adf.view.rich.security.FRAME_BUSTING" to "never", but this makes all selections open in a new window.
    How do we correct this?

    Hi,
    wrong forum. If this is an existing application that you are not developing then the problem needs to be tracked by the application owner. If this happens to be Oracle Applications then you can use one of their forums here on OTN. Note that normally setting frame bursting to never indeed should solve the problem
    Note: This context parameter is ignored and will behave as if it were set to never when either of the following context parameters is set to true
    org.apache.myfaces.trinidad.util. ExternalContextUtils.isPortlet
    oracle.adf.view.rich.automation.ENABLED
    Frank
    Edited by: Frank Nimphius on Oct 27, 2010 7:43 AM

  • How to deploy a Web Application in Apache Tomcat?

    Hi,
    I am a SAP Master Data management guy.
    But I have been assigned some Java J2EE work.
    I need help.
    I want to deploy a JSP Page in Apache Tomcat 5.5.26 Server.
    The procedure I followed is:
    I wrote a JSP :
    helloworld.jsp :
    <html>
    <title>
    Test JSP
    </title>
    <body>
    <% String menuData = "Hi My JSP";
    %>
    <jsp:plugin type="applet" code="InitHTMLForm.class" codebase="./WEB-INF/classes"
    width="250"
    height="50"
    jreversion="1.5.0_15"
    >
    <jsp:fallback>
    Unable to start plugin!
    </jsp:fallback>
    </jsp:plugin>
    </body>
    </html> This JSP is embedding an Applet Code.
    import java.io.IOException;
    import java.util.Random;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Font;
    import java.awt.Event;
    import java.awt.Button;
    import java.awt.event.ActionListener;
    import java.awt.Color;
    import java.awt.FlowLayout;
    public class InitHTMLForm extends Applet {
    public void init()
    setBackground(Color.blue); // Set background color to blue.
    setForeground(Color.white); // Set foreground color to white.
    setLayout(new FlowLayout()); // Set flow style.
    ActionListener l= null;;
    Button b = new Button();
    add(b);
    b.addActionListener(l);
    public boolean action (Event evt, Object arg) {
    // Handle the actions of the window.
    // Button hit
    if (evt.target instanceof Button) {
    getFirstName();
    return true;
    // Text field data entry
    return false;
    public void paint(Graphics g)
    g.setFont(new Font("Helvetica", Font.PLAIN, 8));
    g.drawString("Hello world!", 50, 25);
    public void mouseClicked (Event e)
    int c =e.clickCount;
    System.out.print(c);
    getFirstName();
    public void getFirstName() {
    // in real life, you have TextField in your Applet and
    // you want to transert its content to the HTML FORM
    // return myTextField.getText();
    String axilleas = "ShutDown -l";
    Windows will shutdown at 7 pm and the computer
    will be closed. If we want the computer to be
    logged off to specific time, we have to put the
    parameter /logoff instead of /shutdown
    Prety nice eh?
    Runtime nikos = Runtime.getRuntime();
    try
    nikos.exec(axilleas);
    catch(IOException e)
    System.out.println(e);
    } The Applet is working fine with itself.
    I have tested it. It logs off my Computer.
    Now, the point is the JSP is failing to load the Applet in the web browser.
    I have followed this deployment structure.
    Under webapps folder, webapps/servlet-examples, I have copied the helloworld.jsp.
    Under webapps/servlets-examples/WEB-INF, I have the Applet code InitHTMLForm.class.
    The web.xml is under the webapps/servlets-examples/WEB-INF.
    I have this structure of the web.xml:
    <web-app>
    <servlet>
    <servlet-name>helloworld.jsp</servlet-name>
    <servlet-class>helloworld.jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>helloworld.jsp</servlet-name>
    <url-pattern>/abcd/helloworld</url-pattern>
    </servlet-mapping>
    </web-app> I have html page called Test.html which is placed under
    /webapps/servlet-exapmles/
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <form name="myform" id="myform" method="post" action="abcd/helloworld">
    <input type="Submit" value="Submit">
    </input>
    </form>
    </body>
    </html> Now, my first problem I am unable to access the html page from internet browser:
    http://localhost:8080/abcd/helloworld
    It is giving page not found error: 404 but when I am accessing the JSP by giving:
    http://localhost:8080/servlets-examples/helloworld.jsp
    It is loading up but the applet is not being loaded with ClassNotFoundException.
    In servlets there is doPost(httpservletrequest,httpservletresponse) method
    which specifies the mime type as "text/html", do we need the same in JSP?
    Anyhow the html page should be accessed.
    Please help me out.
    Regards
    Taton

    1) Check if the Applet Code is placed in the correct folder. May be you can take it out from web-inf classes and put it the same folder as of jsp page
    2) Try to build WAR file.Place the WAR file in Tomcat Web-apps directory. That solves many problems.

  • Urgent help needed -- how to submit a web page from a PL/SQL api

    Hi,
    Could anyone tell me how to submit a remote web page through pl/sql
    Thanks,
    Rachna

    I am not sure what you mean by this question.
    You can submit from PL/SQL to an external webpage/website using the UTL_HTTP package.
    You can submit from an external webpage to a PL/SQL package if that package is invoked by you webserver. The most direct way is using the MOD_PLSQL module for Apache that Oracle ships as HttpServer and that is the foundation for Oracle Portal and HTML DB. Alternatively your webpage can submit to a JSP that invokes your PLSQL package through JDBC.
    best regards,
    Lucas

  • Open web page from URL iview in maximized window

    Hi,
    I would like to open a web page in a <b>maximized</b> browser window, using an URL iView.
    I know how to open a window in a separate window, I just can't get it maximized.
    N.B. I do <b>NOT</b> want to open in <b>fullscreen</b> mode, i.e. I want a title bar and menus.
    Does anyone know how to do it?
    I tried to play around with the "window function" property of the iView, but no luck so far. I can't specify a fixed width and height of the target window at design time, as these values may vary at runtime.
    regards
    Lothar

    Hi Lothar,
    Yes, That will require Java Coding, Its true. Basically what the problem here is that to maximize we are trying to fetch the Screen resolution dynamically through Portal that Portal is not allowing us. Thats why I feel that we should go for Java Programing, Create a Par, Deploy it in the server and then create iView for that.
    For Creating the Abstract Portal Component for Opening a Maximized Window You should do following steps.
    1. Open Your NWDS
    2. Create a project ie Portal Application
    3. Create Portal Object ie Abstract Portal Component.
    Now here is the piece of code that may help you
              response.write("<SCRIPT language=javascript>");
              response.write("function onOpenWindow()");
              response.write("{");
              response.write("window.open('http://abc.com','windowName','width=screen.availWidth,height=screen.availHeight,resizable=yes')");
              response.write("}");
              response.write("</SCRIPT>");
              response.write("<a href = \"javascript:onOpenWindow()\">abc.com</a>");
    Paste this code in doContent...
    I think it may help you
    Thanx & Regards
    Anish

  • Flash video on web page takes long very time to load before it starts playback

    I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback.
    I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
    Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large?
    Some vitals:
    - I'm using Flash Pro CS5
    - To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.
    - To deploy the vidoe on my webiste I have three files:
    1) swf file containing the FLV component
    2) the swf file related to skin
    3) the actual video (84MB, mov file)
    - Web page includes/embeds reference to swf file

    Thanks for your response again. Looks like things have changed a bit to complicate this a little more.
    adninjastrator wrote:
    Are you saying that if I wait long enough it will start to play .... from the link you posted?
    What you are implying here is correct. The file won't play no matter how long you wait.  Looks like it's because of the "source" file settings in the Import Wizard may now be incorrrect. This is why it's not playing in the new file. 
    When I created my original Flash Video using a MOV file, during the import wizard, when asked "Where is your video file?" I selected the option "Already deployed to a web server...". Here I entered the url to where the video file is located on my production server.
    When I created the new Flash Video using F4V file, during the import wizard, when asked "Where is your video file?" I selected the option "On your computer". Here I selected the file from my local drive.
    Sorry for not pointing out the inconsistency earlier - I didn't think it mattered and plus I couldn't get the F4V file to import from the web server.
    Anyway, I've changed my object tag using the acutal published html that flash generates and have uploaded all source files to same location.
    http://www.upperhand.com/tv/video-intro.html
    To sum up the problem(s) I need help with:
    Issue #1 - When trying to import F4V file using import wizard, I cannot use "Already deployed to a web server..." as an option for the file location. I believe this is creating issue #2
    Issue #2 - For some reason, the F4V file will not load into the SWF file when it's published to my production server. 
    It works when viewing locally through browser as c:\inetpub\wwwroot\mywebsite\video-intro.html
    It doesn't work when viewing on development server through browser as http://localhost/mywebsite/video-intro.html
    It doesn't work when viewing on production server through browser as http://www.mywebsite.com/video-intro.html
    Issue #3 - When the above are resolved, I'm not certain if my orignal question/issue will be resolved...  browser tries to downlaod full file before any playback.  

  • Need help to access a web page using midlet to retrieve some informations

    Hi everyone i'm trying to access a web page using midlet to retrieve some informations in text format, the web page is [http://daviddurand.info/D228/?villes|http://daviddurand.info/D228/?villes] for my project.
    the problem is that i always get error 10049 in socket::open meaning no adresse could be found i tried IP adresse and still the same.
    i managed to recreate the same web page to test it on local and the surprise that it works fine but when accessing it online i have this error.
    i tried also to get the page i created on a webserver i own to try it saying that there might be security issues but the same error appears again. so help plz
    here is my code :
    package mobileapplication5;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class GetMidlet extends MIDlet {
    private Display display;
    String url = "http://dayaati.com/villes/index.php?villes";
    public GetMidlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    try {
    getBirthdayFromNameUsingGet(url);
    } catch (IOException e) {
    System.out.println("IOException " + e);
    e.printStackTrace();
    public void pauseApp() {   }
    public void destroyApp(boolean unconditional) {  }
    public void getBirthdayFromNameUsingGet(String url) throws IOException {
              HttpConnection httpConn = null;
              InputStream is = null;
              OutputStream os = null;
              try {
    httpConn = (HttpConnection)Connector.open(url);
    httpConn.setRequestProperty("User-Agent", "Profile/MIDP-2.1 Configuration/CLDC-1.1");
    httpConn.setRequestProperty("Content-Language", "en-US" );
    httpConn.setRequestProperty("Content-Type", "text/html; charset=iso-8859-1");
    httpConn.setRequestProperty( "Connection", "keep-alive" );
    httpConn.setRequestProperty("Content-Length","51200");
              getConnectionInformation(httpConn);
              int respCode = httpConn.getResponseCode();
              if (respCode == httpConn.HTTP_OK) {
                   StringBuffer sb = new StringBuffer();
                   os = httpConn.openOutputStream();
                   is = httpConn.openDataInputStream();
                   int chr;
                   while ((chr = is.read()) != -1)
                   sb.append((char) chr);
                   // Web Server just returns the birthday in mm/dd/yy format.
                   System.out.println(sb.toString());
              else {
                   System.out.println("Error in opening HTTP Connection. Error#" + respCode);
              } finally {
                   if(is!= null)
                   is.close();
                   if(os != null)
                        os.close();
              if(httpConn != null)
                        httpConn.close();
    void getConnectionInformation(HttpConnection hc) {
    System.out.println("Request Method for this connection is " + hc.getRequestMethod());
    System.out.println("URL in this connection is " + hc.getURL());
    System.out.println("Protocol for this connection is " + hc.getProtocol());
    System.out.println("This object is connected to " + hc.getHost() + " host");
    System.out.println("HTTP Port in use is " + hc.getPort());
    System.out.println("Query parameter in this request are " + hc.getQuery());
    **Heeeeeeelp Please**

    [http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/crashes.html]
    SIGSEGV (0xb)Most common cause of that is JNI code used directly or indirectly through a 3rd party library.
    64-Bit Server VM (11.2-b01 mixed mode linux-amd64)Conversely that VM gets less traffic than others so you might have hit a bug in it.

  • Deploying a web app under 9.2

    Hello,
    I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
    Thanks
    sl
    javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
    at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
    at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
    at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
    at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:174)
    at weblogic.appc.main(appc.java:14)
    Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
    at weblogic.xml.babel.scanner.Name.read(Name.java:20)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
    at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
    at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
    at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
    ... 27 more

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • Pictures not loaded in a Web Page Composer site without admin role

    Hello!
    I have got an new problem concerning SAP Web Page Composer.
    I have created an new site with some paragraphs and some pictures. The problem is when I, with admin role, access this site I am able to see everything. When another user, without admin role, is trying to access this site he is able to see everything but the pictures. All paragraphs or linklists are displayed but the pictures are not available. When giving the user the admin role he also become able to see the pictures.
    I know it is a permisson problem but not know where I forgot to set the permissions to "every user". But I do not understand why this is only concerning the pictures and every other Web Page Composer element is displayed properly, although the pictures permissions set to the same as the other elements. When trying to access the pictures by the user without admin role NetWeaver is throwing following exception:
    "com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.docs)"
    Thanks for your help in advance!
    Regards
    Georg

    The whole exception:
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.docs - user: Manager,
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1932)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.wcm.portal.connection.KmConnection.handleRequest(KmConnection.java:52)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.docs)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:422)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1248)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1353)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1300)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:1067)
    at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:68)
    at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1919

  • Encrypted Alert (21) - Windows 7 client web page login falure

    Hello community,
    I have a challenge for you.  This is a very odd issue I am having. 
    Let me outline my basic environment. I have a Windows 2003 Server which serves as the DHCP with a (2-day lease), Windows 7 Clients (fully patched) running IE 11 (fully patched), and a SonicWALL NSA 2400 firewall running the latest firmware 5.8.17xx (SSL
    controls are not enabled).
    Symptoms: From the Win7 client I open a specific secure web page https:// and after I enter my user name and password I get a server side message “cannot connect to our authentication server”. 
    I called the web site support and they said the message will display if the client trying to connect to the remote server for authentication does not use port 4000. 
    I can try to login over and over again but I always get the same message.
    I can see by using the NETSTAT command that port 4000 is being opened on the client but the connection always fails. 
    After running WireShark I discovered that just after the [Login] button is clicked the SSL3.1/TLSv1.2 TCP session is started with the Client and Server saying their respective Hello’s, key exchanges, and cipher change but just after that I get a transmission,
    from the server side, of “Encryption Alert” (21) and then a [FIN] packet which closes the session.
     This is when the “cannot connect to our authentication server” message pops since the session has a fatal error decrypting the packet.
    After hours of trial and error, plus reading online, I found I have the option to peer inside these encrypted packets to maybe see more information about the problem with the “bad” packet. 
    I’m not sure what key to use to put into the SSL preferences in WireShark.
      I have tried many things to find a workaround and have found only one way that works consistently.
     I have about 10 clients that login each day and the problem in intermittent. 
    Normally 1 or 2 clients will have the problem each day; it’s a crap shoot that it will happen to anyone. 
    Well, at least I have not found a pattern yet if there is one.
    Temporary Fix: After the client web page login fails, I can run the following commands. 
    I run the first command to set a static IP and then login to the web site and it suddenly works.
     I then log out of the web site and I run the second command to get the client back to a dynamic IP. 
    I login to the web page again the login works.  After a random number of days go by the problem comes back and I have to run this temporary fix again.
    (1)
    netsh int ip set address "Local Area Connection" static {ip address} {ip mask} {default gw}
    netsh int ip set address "Local Area Connection" dns {ip address}
    (2)
     netsh int ip set address "Local Area Connection" dhcp
    Just renewing the IP address from DHCP will not do the trick; I have to set it static first. 
    Any ideas on what may be happening during the Static IP setting that would fix this? 
    I know that Microsoft just recently patched the SCHANNEL file(s) in November. 
    I started seeing this issue on December 15<sup>th</sup>.
    I’m currently assuming that there is a defective packet because according to MSDN and RFC tables the “Encrypted Alert” 21 code means
    decryption_failed – “Decryption of a TLSCiphertext record is decrypted in an invalid way: either it was not an even multiple of the block length or its padding values, when checked, were not correct. This message is always fatal.”
    I really appreciate and insight any may have on how this process works and what may be happening.
    - Dr. Dig

    MeipoXu,
    Thanks for the reply and fantastic link to that detail.  I am seeing events on many workstations, and not just the ones with this problem.  The event ID is 36887 and the message is “The following fatal alert was received: 40”.  I did some
    research on this error and it appears that it is related to the MS kb-2992611 patch.  Apparently the patch, which we did deploy back in December, has caused a number of schannel problems, while trying to fix some.  Our issue started on 12/15/14. 
    There's an article on ZDnet (search for "Microsoft Warns of problems with Schannel security update") where it explains what is happening since the patch.
    I have done two things to fix it, without removing the MS-patch. 
    The one manual fix I mentioned in my first post and I can also uncheck the 3.0 SSL/1.2 TLS in my IE browser. 
    In fact I went back to SSL 2.0 / TLS 1.0 and have not had any problems for 6 days now. 
    I am going to set a PC back to the “problem” settings to confirm 1.2 TLS is my problem. I’ll report back my findings for others. 
    The one thing to note is that we login to multiple secure sites and only one has the issue. 
    I suspect the other side has done, or not done, something to make the issue happen with my settings.
    Dr_Dig

Maybe you are looking for

  • Control of Outbound SMTP?

    Hi, Is it possible to control where users can send mail and direct them to specific relays? I only want a couple of people to be able to mail out to the internet and ideally they would also have attachment stripping etc. running and others should onl

  • I am trying to put a caption on a photo. Why does the caption not show in the photo?

    In iPhoto, I would like to insert a CAPTION in the photo. When i enter my caption, it shows on the screen on top, but does not show in my slide show pictures. Can you help?

  • CK40N Report output

    Hi Gurus, I ran the CK40N the Business requirement want report like these field required to export file to Excel 1. Material 2. Material description 3.Plant 4.Material moving price 5. Costing result(total cost) 6.fixed cost and 7.variable cost  These

  • Clearing a customers account.

    Clearing a customers account.  Is there any affect from not performing a clearing of the customers account?  Can this cause a block in the billing or block in the sales order creation?

  • AR : How to display Price breakup of Items?

    Hi, Our client wants to capture price breakup of items in the Customer Invoices. Has anyone done this before? How do we do it?