JSP & WebSphere 3.5

I have windows 2000 machine running IIS as webserver and Websphere as application server. And I have a domain name that is redirected to the IP address of this machine.
When I access the jsp page via http://computername/mypage.jsp, the page is processed perfectly. It returns me all the records as it is supposed to. However, when I access the page via http://domain.com/mypage.jsp, I get a raw page. The browser returns me the unprocessed mypage.jsp. (I get the actual codes from the page).
So, my guess is that the Websphere is not getting kicked off to process the .jsp file when I access the page via http://domain.com/mypage.jsp.
Can anyone help me with this issue? PLEASE!!
Thanks.

Hi angellak,
Check your WebSphere's internal settings. Using the administrative console, check if domain.com is a configured alias inside "default_host". If not, insert it, stop/start service and try again. This property controls what domains WebSphere should answer.
My guess is that your domain is not configured and that there is a PASS command configured on IIS that responds your requests, but without understanding JSP (only WebSphere can work it out).
Regards.

Similar Messages

  • JSP & WebSphere

    Hi,
    I have a strange problem with some JSP�s that works with WebSphere. When I execute the JSP it always works correctly but sometimes appears at my logs system some errors like:
    ServletInstan X Uncaught service() exception thrown by servlet {0}: {1}"Processor JSP 1.1"javax.servlet.ServletException: Error during native write operation! Status Code: -1at org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled Code))at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled Code))at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))at com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled Code))at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled Code))at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled Code))at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled Code))at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java(Compiled Code))at particular._MyJSP_jsp_44._jspService(_MyJSP_jsp_44.java:808)...
    I�ve seen that it can happen when the user closes the browser. There�s a patch at WebSphere home that repair that situation. But the problem (better, the question) is that it also happens sometimes when the user doesn�t closes the browser and don�t finish the connection. Why it happens if nobody is closing the browser nor is finishing the connection? The bean associated always computes correctly the operations related.

    Hi, your problem is quite easy to resolve; my collegue near me, few day ago suggested me to set the buffersize on the jsp page at the top in order to erase this nasty error; following the solution:
    <%@ page language="java" import "......" buffer="1000kb" %>
    try it....

  • Setting up Microsoft SQL Server datasource in Websphere 4.0

    Does anyone know how to setup an SQL Server jdbc driver in Websphere 4.0? I am using jdbc driver from jTurbo. But I am having trouble specifying the proper URL and other datasource settings in Websphere 4.0 (or WTE) server configuration.

    Hi,
    Please find the extract from jTurbo site (http://www.newatlanta.com/support/jturbo/third-party.jsp#WebSphere)
    which will explain the steps to follow for setting up Microsoft SQL Server datasource
    in Websphere 4.0 using jTurbo jdbc driver.
    1.Always make sure the JTurbo.jar is set in your classpath.
    2.Started "WebSphere Admin Server"
    3.Open "WebSphere Administrative Console"
    4.Install the JTurbo Driver into WAS by modifying the following field of "Admin DB Driver"
    Name: JTurbo
    Class Name: com.ashna.jturbo.driver.Driver
    URL prefix: jdbc:JTurbo://localhost/pubs
    JTA Enabled: false
    (apply changes which resulted in the installation of JTurbo Driver)
    5.Selected "Create Data Source" in Console "Wizards" drop down
    6.Selected "Use an already installed JDBC Driver" JDBC Option
    7.Specified "my ds name" as the "Data Source Name"
    Specified "pubs" as the "Database Name" pull down is showing "JTurbo"
    This should sucessfully create a new data source by the name of "my ds name".
    Also there is an excellent document on "Configuring the Merant ConnectJDBC data source for MS SQL Server for the WebSphere Application Server Advanced Single Server Edition" at http://www-4.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/was402/rn112253.4.html .
    Hope this helps. Good luck.
    Best Regards
    Gayam_Slash

  • Job Opportunity for Flex Developer in NYC

    Hello Adobe Flex forum members!  I have a great opportunity available for a solid Flex Developer in NYC, so I wanted to post it here. If you are interested in the following position, please e-mail your current resume to: [email protected]   Iris's client, one of the world's largest global investment banking and securities firms is looking to hire a strong Adobe Flex Developer for a contract opportunity.  Our client is a one of the largest global investment banking and securities firms in the Americas. A major securities, futures and options exchange and a shareholder of the major clearing organizations, providing full market access to its clients. Their four major divisions - Equities, Fixed Income, Asset Management, Investment Banking - all work in sync to enhance distribution or create new products and services and provide clear benefits to their clients.  Location: New York, NY  Job Requirement: Flex developer w/ some Java: 2-3 yrs experience Flex 3 Cairngorm or any other MVC architecture - highly prefer Cairngorm. Blaze ES Should be good with : Charts / Data Grids / Item Renderers / Item Configurators Must come from  Java Backend to be able to work well within Java based environment (Jsp / Websphere portal exp is very good to have) Should be familiar with all Java Controls Should be familiar with Code optimization in Java Good to have a Math background  - to understand numbers Should be good with extenral Interface APIs for Flex / Blaze   Iris Software, Inc. is a New Jersey based company providing information technology solutions to clients nationwide. Iris has been growing at over 100% annually. In a program sponsored by Price Waterhouse, PNC Bank and Marsh, Iris has been honored for being  - One of New Jersey's Finest 25 companies for the year 2001 and 2002. - Iris is also ranked 75th among Inc 500 s list of privately held companies for year 2001.  - NJ Technology FAST 50 Company for year 2002.  In a competitive industry, we distinguish ourselves by reliability, technical expertise and a history of successfully completed projects for clients ranging from mid-sized to Fortune 1000 companies  Best Regards,  David Gargano  IRIS Software, Inc.  Ph: 732 393 0034 x 19 Cell: 732 535 0235 Fax: 732 393 0035  200 Metroplex Drive, Suite 300, Edison, NJ 08817 5 Penn Plaza, 23rd Floor, New York, NY 10001  A CMMi, ISO 9001:2008, ISO 27001 Company Ranked on the Inc 500 list, Deloitte & Touche Fast Technology Companies, and NJ Finest Companies

    hi tw
    I did my certification in SAP SD from Bangalore by month of October 2012, after that
    i received only one opportunity to attend interview at Capgemini, I cleared my
    interview but unluckily project was canceled and they haven't done any recruitment.
    your view is add on Knowledge, still I am maintaining studying, at least every day 7hrs plus, but problem is, job market or industry not have need of certified person, companies prefer to get 3 years real time exp persons more willingly than certified fresher.
    I had discussed with few of the HR managers, their reply was, in certification course there is no real time project training, it’s just about overall SAP concept, so we prefer 1 or 2 years exp people.
    So my opinion is going for SAP SD certification is useless and money wasting.
    Thanks
    Shiva
    Bangalore, India

  • Urgent help needed in compiling JSP on websphere 6

    we are migrating our app from websphere 5 to 6 version. our app has 2 JSP files. Jsp A and Jsp B...
    Jsp A code
    if(cond met) { <%@ include file = JspB %> }
    Now JSP B code
    <bean:define id='X' />
    when i run the JSP A, it throws compilation error as below..
    Jsp A failed to compile, variable X not resolved
    An error occured in the statically included jsp B
    The same code is running on websphere 5. its giving error on 6. ..Pls help..This is urgent,

    Could you post more details perhaps? Eg. the complete files.
    Also, I would recommend that you consider using the runtime include, <jsp:include ...>, and put your variables in the request scope.

  • How can I link to a jsp page from another jsp page within websphere portal?

    Afternoon all,
    I have a websphere portlet which displays a jsp page. I want to put a hyperlink on the jsp page which when clicked will open another jsp page.
    Does anyone know how to do this?
    Thanks,
    Alex

    The anchor tag is the correct one for generating clickable links.
    <jsp:forward> is for transferring control at the server end. Its when you decide to change which page you want to show the user. ie check user is logged in. If not then forward them to login page, else display current page.
    I tried that. It does open the jsp page
    but the place and page links in the portal theme get screwed up.Whats mucked up about them? Do they point where they shouldn't?
    You might try using a <base> tag to set where relative links are resolved from.
    Cheers,
    evnafets

  • Importing class to JSP in websphere (newbie)

    Hi I am trying to figure out how to properly import a class in a JSP.
    The DocumentRoot directory is set in Websphere and that is where my JSP's reside. I have created a folder off of the DocumentRoot directory called classes and placed my .class file in there. I then set the classes directory in the classpath (and restarted the appserver)
    I have an import statement in my jsp for the class.
    I am now getting an error that says it is unable to compile because of null. Any ideas????
    Below is a test piece of JSP code and the class code:
    <%@ page import="java.io.*, java.util.*, java.text.*, IPRStat, java.net.*,java.sql.*"%>
    <HTML>
    <BODY>
    <%
    try {
    String IPRNum = "001-0001";
    String IPRStatus = "OK";
    IPRStat Testing = new IPRStat(IPRNum, IPRStatus);
    } catch (Exception e) {
    out.println("Error detected " + e.getMessage());
    %>
    </BODY>
    </HTML>
    class IPRStat
    public IPRStat(String i, String d )
    iprnum = i;
    status = d;
    public String getIPRNum()
    return iprnum;
    public String getStatus()
    return status;
    private String iprnum;
    private String status;
    -----------------------------------------------------

    DocumentRoot (looks something like: /aibm/Userdata/WebAsAdv/default/mydev) is where my JSP's live (i.e.)
    /aibm/Userdata/WebAsAdv/default/mydev/testidea.jsp
    and I made a directory off of DocumentRoot called classes:
    /aibm/Userdata/WebAsAdv/default/mydev/classes
    And copied IPRStat.class into the classes directory.
    /aibm/Userdata/WebAsAdv/default/mydev/classes/IPRStat.class
    I then put the path (/aibm/Userdata/WebAsAdv/default/mydev/classes) in the classpath and restarted the appserver.
    At this point there is no Web-INF that I can see. I am new to Websphere myself. Is version 3.5.4 standard edition. I am using the websphere admin console to set the classpath.

  • JSP cannot be found in IBM WebSphere 5.1

    Hi,
    I'm getting the following error in my websphere when I try to execute my index.jsp page:
    SRVE0026E: [Servlet Error]-[/index.jsp(2,0) /SkinProperties.jsp(0,0) Impossible to read file: /includes/initSkin.jsp sun.io.MalformedInputException]: org.apache.jasper.compiler.CompileException: /index.jsp(2,0) /SkinProperties.jsp(0,0) N?o ? poss?vel ler arquivo: /includes/initSkin.jsp sun.io.MalformedInputException at org.apache.jasper.compiler.JspParseEventListener.handleDirectiveMy EAR file is structured like the bellow tree:
    main.ear
          |---  ejb-jar-ic.jar
          |---  META-INF
          |---  war-ic.war\ login.jsp; index.jsp, SkinProperties, etc...
                     |--- META-INF
                     |--- WEB-INF
                     |--- includes\   init.jsp; initSkin.jsp, others.jsp...
             The code of my index.jsp is shown bellow
    <%@include file="SkinProperties.jsp"%>
    <HTML>
    <HEAD>
         <META http-equiv="content-type" content="text/html; charset=utf-8">
         <LINK REL="stylesheet" TYPE="text/css" href='interface/style/styles<%=skinId%>.css'>
    </HEAD>
    <BODY class="leftBody">
    </BODY>
    </HTML>The code that trigger the error of the included JSP (SkinProperties.jsp) is shown bellow
    <%@include file="includes/initSkin.jsp"%>I am almost sure that it is an error related (maybe) with the web.xml file. My web.xml file is listed bellow:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
       <web-app id="WebApp_1085707821772">
          <display-name>war-ic</display-name>
          <description>nodescription</description>
          <servlet id="Servlet_1085707729329">
             <servlet-name>login</servlet-name>
             <display-name>login</display-name>
             <jsp-file>/login.jsp</jsp-file>
          </servlet>
          <session-config id="SessionConfig_1085707821782">
             <session-timeout>30</session-timeout>
          </session-config>
          <resource-ref id="ResourceRef_1085707821782">
             <res-ref-name>jdbc/sec</res-ref-name>
             <res-type>javax.sql.DataSource</res-type>
             <res-auth>Application</res-auth>
          </resource-ref>
       </web-app>Does anybody has a clue of what is going on?

    It looks like you have an error compiling your JSPs. Without the text of the JSP, it is difficult to say what the problem might be.
    You should probably ask this type of question on the developerWorks forums, though.
    http://www.ibm.com/developerworks/websphere/community/
    There aren't many WebShere users in this forum.
    vbk

  • Problem in using jsp 1.1 custom tag library in websphere

    I am using was 3.5.2. Everything has been installed properly. I am using jdeveloper 3.2 for building the jsp application using custom tag library. But when I run the jsp file in browser, its gives dr. watson on java.exe. I am using websphere 3.5.2 application server.
    Have any body got this type of prob. ...
    pls respond asap.
    Thanks in Advance
    Yogesh

    Let me explain the problem again
    I am using was(websphere) 3.5.2. Everything has been installed properly. I am using jdeveloper 3.2 for building the jsp application using custom tag library.
    Application works fine in JDeveloper 3.2.
    Application works fine even when deployed on JRun 3.0. ( we are evaluating various web servers).
    How when deployed on WAS and I run the jsp file in browser, its gives dr. watson on java.exe. I am using websphere 3.5.2 application server.
    WAS has typical settings as against JRun and Tomcat and may be I have not set the necessary paths.
    Have any body got this type of prob. ...
    pls respond asap.
    Thanks in Advance
    Yogesh
    null

  • How to Debug JSP in Websphere 3.5 ?? Urgent

    Hi,
    can somebody help me debuuging JSP in Websphere Application server 3.5 .Remember I dont have
    Websphere Studio or any other tool.any help in this regard is appreciated.
    Thanks
    Jack

    In most cases, you can debug an application by using the old standby of printing status lines after each significant chunk of code. For example, you can always output the page's parameters to make sure you've received what you think you've received.
    In the cases that Java throws an exception, you can make a rough guess as to what the problem is, based on the exception. A NumberFormatException usually occurs when you try to convert a letter into a number. The original intent would be to take a string "10" and convert that into the integer 10. SQL Exceptions are a little more vague, but again, you can at least narrow down the problem.
    Specific debuggers, while nice to have, are not really necessary. Through experience, and trial and error, you will eventually discover (and remember) the most common kinds of errors and how to avoid them.
    As a general rule, until you become proficient, always code a little chunk of the application at a time, and test that chunk to make sure it's working properly. It's far easier to track down a bug if you know it's somewhere in a dozen lines of code that you wrote that morning.
    If you are using Internet Explorer, you may want to confirm that Explorer is not giving you "friendly error messages". You can check this in the tools->internet options->advanced dialog box. By default, IE hides specific error messages, including JSP errors, because Microsoft rightly feels that your grandmother would just get confused.

  • How to call EJB deployed on websphere from JSP running on Tomcat?

    I am trying to establish communication between two app servers. I have a sample EJB deployed on Websphere and wish to call its business methods from a JSP page which is running on Apache Tomcat server. (ie) Tomcat is client to websphere. Is it possible to do? If so, what are the client Jar files of websphere that I should make available to JSP page on Tomcat? Do I need to set any Jars in Tomcat environment variables? Lood forward for your immediate help. Thanks in advance

    Please see the thread
    http://forum.java.sun.com/thread.jspa?threadID=514536.
    Hope that helps..

  • Struggling to run JSP on WebSphere Application Server

    Hi, where must I place a JSP (very simple stand alone JSP which is not even part of a web application) file on WS Application Server (V 3.5.4) so that it can be executed from a web browser (e.g. http://xyz.com/.../.../myfile.jsp). I have gone through WebSphere 3.5 Handbook (IBM Redbook) document but no luck. Should any of the configuration files, either on web server or app server, be changed to get JSP working?
    I have an alias in httpd.conf file (configuration file for the web server) as
    Alias /IBMWebAS/ C:/WebSphere/AppServer/Web
    I could run a html file as http://xyz.com/IBMWebAS/myfile.html. C:/WebSphere/AppServer/Web is a directory on App Server.
    Do I need to make any changes on App server administration console?
    Thanks

    Yes, I got the test servlet to run.
    I am not sure what you mean by creating an application and placing it in the classpath?
    I am facing the challenge to get plain and simple JSP going. All this JSP would do is output greeting message based on the time of the day (I obtain time using Calender class).
    I am using the HTTP web server that came with WAS but don't have a clue what it could be missing. Could you give out those missing lines in the conf file. Thnx.

  • JSP on IBM WebSphere Application Server 3.5.4

    Hi, Could pls. someone suggest what is required to be done to get a JSP working on IBM WebSphere Application Server.
    This is what I have tried so far:
    One of the directories on the app server is
    C:\WebServer\AppServer\hosts\default_host\examples\web
    When I place a JSP in the above path, it works fine (http://localhost/webapp/examples/xyz.jsp in the browser).
    Question:
    Where is webapp (as it appears in the URL) defined?
    Then, I go on to create new directories as follows
    C:\WebServer\AppServer\hosts\default_host\MyApps
    C:\WebServer\AppServer\hosts\default_host\MyApps\web
    Place a working JSP in C:\WebServer\AppServer\hosts\default_host\MyApps\web. And when I enter http://localhost/webapp/MyApps/xyz.jsp or http://localhost/MyApps/xyz.jsp in the browser, the JSP can't be located.
    What is required to be done (from mapping point of view) and where? Does anything pertaining to JSP need to be defined on the HTTP Web Server (not for JSP's I think). Where should I put the JSP file so that everything for the application could be grouped together and it will work as well.
    I have gone through other postings on this issue on this forum but they have been of little help.
    Any thoughts on how to get this working.
    Thanks

    I use IBM Visual Age 3.5 & 4 which contains a scaled down vesion of Websphere for running servlet and JSPs. I am very familiar with the intricacies of running web apps in in this scaled down environment. What I'm about to tell you may or may not apply to WAS but it should help you.
    You can't simply add a directory under default_hosts and expect a new web app to appear. Websphere only recognizes web apps that are set up properly in the servlet_engine file. Each server has it on servlet_engine file located in the properties directory. For the default server, the file is named default.servlet_engine. In that file you must add a new <webspher-webgroup> element as a child element to <websphere-servelet-host name="default_host">. I added a web app to my server and it looks like this.
    <websphere-webgroup name="second_app">
           <description>The second app</description>
           <document-root>$approot$/web</document-root>
           <classpath>$approot$/servlets$psep$$server_root$/servlets</classpath>
           <root-uri>/</root-uri>
           <auto-reload enabled="true" polling-interval="3000"/>
           <shared-context>false</shared-context>
      </websphere-webgroup>I can't remember if it automatically creates the directory structure for you now or not, but at any rate, this web app will be stored in c:\WebServer\AppServer\hosts\default_host\second_app with the enclosed web direrectory as your location for JSPs.
    One more thing to mention. For every web-app you create, there is a descriptor file similiar to the web.xml deployment descriptor you see in /WEB-INF for the servlet 2.2+ spec. In my case the file is name second_app/servlets/second_app.web_app. In the descriptor you would probably want to configure some settings specific to your web app such as servet registration, init parameters and which version of the jsp compiler to use.
    Since IBM came out with WAS 3.5 before the Servlet 2.2 spec went mainstream for Servlet Containers, WAS's configuration is quite unconventional. But, I found that the documentation that comes with WAS explained all these configuration quirks quite well.
    Hope this helps
    Steve

  • Hlep(about  websphere and jsp )

    I has deployed a webapp. on websphere ,
    while I requested the jsp on localhost ,it work fine .but
    while I requested the same jsp on internet ,it display the
    sourcecode of jsp on browser .The websphere server is behind the firewall ,the firewall only allow 80 port access
    web resource,so I don't affirm it is cause .
    I'am sorry my English is poor .
    It would be very appreciate if you hele me !.

    Hey, Friend,
    I am sorry I can not help you. Rather, I have a question for you!!
    I am a new comer for web-sphere. I installed web-sphere, and tried to run html pages on that and it runs fine. But the problem starts with Jsp pages.
    Can you please let me know what settings should I make before running jsp pages on websphere?
    Thanks a lot in advance,
    niravjava

  • Deploying JSP Page to Websphere

    Hi
    I m new to websphere.
    I created a samle JSP page in notepad. How do i deploy it? Where do I store the JSP File in my disk and how to access the page thru browser??
    Help me
    Thanx

    Hi,
    Take a look at the FAQ
    "How will web applications developed with Java Studio Creator be deployed to servers other than Java System Application Server 8, Platform Edition?"
    at
    http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical.jsp
    MJ

Maybe you are looking for

  • Unable to connect my mac book pro to Apple tv to watch downloads

    Im unable to get my Mac Book Pro to connect to my Apple TV? Have been able to connect both the iPod and iPad but not this?

  • Excise Capture in STO

    There are 2 plants within same co. code. Plant A manufactures parts and Plant B is an assembling unit. Plant A does STO on Plant B. Plant B assembles the parts and make finished goods. Both plants are located in different states and have different Ex

  • What is "Baseline Standard" and "Baseline Optimized" when saving JPEG's?

    When saving a JPEG image file in PSE 6 for Mac, I noticed a "Format Options" section of a pop-up window called "JPEG Options." This section gives you three options -- Baseline Standard, Baseline Optimized and Progressive. Baseline Optimized is select

  • Access Level Management for Lync2013

    In Microsoft Communicator 2007, there was an option to set the 'Access Level Management' as a global setting. Is this feature still available in Lync 2013 apart from setting the 'Access Levels' for each contact individually.  Since we migrated from M

  • Lenovo U430P shuts down after a while

    Hi folks, i got here a Lenovo U430P which falls in a kind of sleep mode where the power button is constantly illuminated. Doesn't matter which button i press he's not restarting or responding in any way. It's not the sleep mode i guess because that o