JSP examples not working

I've recently installed 9iAS release 2 on a windows 2000 machine. It all seems to be working, except for the JSP examples. When I try the standard sun JSPs, I get the following type of message:
java.io.FileNotFoundException: d:\midtier\apache\apache\htdocs\j2ee\examples\jsp\colors\colrs.jsp (The system cannot find the path specified)
     at java.io.FileInputStream.open(Native Method)
     at java.io.FileInputStream.(FileInputStream.java:64)
     at oracle.jsp.provider.JspFilesystemResource.fromStream(JspFilesystemResource.java:153)
     at oracle.jsp.provider.JspFilesystemResource.fromReader(JspFilesystemResource.java:169)
     at oracle.jsp.app.JspAppLoader.fromReader(JspAppLoader.java:2013)
     at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1246)
     at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1141)
     at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:797)
     at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:368)
     at oracle.jsp.JspServlet.doDispatch(JspServlet.java:265)
     at oracle.jsp.JspServlet.internalService(JspServlet.java:184)
     at oracle.jsp.JspServlet.service(JspServlet.java:154)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
     at org.apache.jserv.JServConnection.processRequest(JServConnection.java:500)
     at org.apache.jserv.JServConnection.run(JServConnection.java:321)
     at java.lang.Thread.run(Thread.java:484)
Anyone have any idea why this is occurring? Does it have anything to do with installing the November PDK for Portal and uncommenting the line in httpd.conf about jserv.conf?
Carey

Yes, you are right. By default, Apache JServ is disabled in ORacle 9iAS Release 2 installation. but since you uncommented the two lines, now jserv is active and will try to serve all JSP request intead of the defualt OC4J. Comment the two line again. (please use the EM to do this and do not comment the lines using a text editor.)
You may require to restart.
Shyam Ellur

Similar Messages

  • Response.sendRedirect("abc.jsp") is not  working

    Hello,
    I deployed my web application(jsp with business components) on AS 902.
    Web cache is running on port 80.
    Apache is running on 7778.
    To pass request i use,
    mod_proxy.c in http.conf. and
    <virtual host> for my application, to get required url.
    It is running fine, But response.sendRedirect("abc.jsp") is not working properly. It redirects the request to apache directly and skips web-cache. Also it changes url for the page given in method.
    While the same application was running ok on v 10222a. That version handle this method properly.
    how to remove this error ???
    Plz hurry up. Our product is ready for launching on 9iAS. It is final testing.
    Thnx.

    Tahir,
    What is the exact error message you are hitting.
    Are you able to use web-cache with other examples.
    Can you try testing it the the webcache demos that are part of ojspdemos.ear under /j2ee/home/demo.
    -Prasad

  • OC4J JSP Debugging not working for all the jsps

    Hi,
    Initially I was not able to debug jsps using Eclipse and OC4J. The jsp debugging started working once I made the below changes:
    1) global-web-application.xml is modified
    Changed the attribute development="true" in orion-web-app
    Added the below init param for the JspServlet
    <init-param>
    <param-name>debug</param-name>
    <param-value>class</param-value>
    </init-param>
    If the jsps are present in a sub directory under the webcontent none of the breakpoints are working. I am still be able to view the jsp pages on the browser.
    Tools: Oracle 10g Application Server Standalone version(10.1.3.5.0), JDK5, Windows XP, Eclipse Indigo
    Project Structure:
    Test (Eclipse Dynamic Web Project)
    -WebContent
    Sample.jsp ( Breakpoints are working)
    -subF (Folder)
    SubSample.jsp (Breakpoints are not working)
    -WEB-INF
    web.xml
    Debugging worked for http://localhost:8888/Test/Sample.jsp
    Debugging not working for http://localhost:8888/Test/subF/SubSample.jsp
    Any help is highly appreciated.
    Regards
    Danny

    This tells there is not enough main memory (not disk space) for the program to run.
    - You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
    - Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data.

  • Jsp:useBean  not work when I install aplication!!

    Hi
    I developing an application with UIX JSP on Jdeveloper 9.0.2 and i using something like this:
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session" />
    <jsp:setProperty name="cbean" property="dataSource" value="jdbc/BiblosConnectionCoreDS" />
    </jsp:useBean>
    <%
    try{
    cbean.connect();
    This code work fine in standalone mode, but when i install this application on 9IAS, with an archive War, the code <jsp:useBean, not work.
    What is missing for? o What is the reason for this situation
    Thanks for some help?

    many thanks for your reply, and I have download new updates driver from your website (http://consumersupport.lenovo.com/en/DriversDownloads/drivers_show_890.html) and Installer it on my Y410 but it still does not work!!!
    the firstly: when I star up with win7, I can see a speaker icon right down near the clock, when I click mouse on it, I can see: Volume Mixer - Speaker with Device(Speaker Hight definition Audio Device, Digital Audio(S/PDIF) ( Hight definition Audio Device) ).
    Look in devicemanger I can see "Sound , video and game controll " has already installer with 'Hight definition Audio Device ' & 'Unimodem Hafl-Duplex Audio Device' below... but I cannot hear the sound when I play music, video, games...etc...
    the second: when laptop wakeup after 'sleep' mode, I can hear sound on speaker! but headphone jack does not work when I plug my headphone jack into it (I cannot hear sound with headphone), however I still hear sound from speaker, in this case!  
    Can you help me or tell me how I can do ?!
    Thanks and Best Regards,
    jupitervn

  • Bean in JSP is NOT WORKING. Please help

    Hi,
              Anyone who got java-beans working with WL JSP? I could not get even the
              hello bean to work. I am getting a error message saying somthing like
              "foo.bar.HelloBean.class is not a bean" .
              Is there any perticular reason for the abuse of not including java bean
              example in JSP examples?
              I will greatly appreciate any help in this direction.
              Thank you in advance
              -Harit
              

    If I had to guess based on the error message I would say you have incorrectly
              defined the class file.
              Remove the .class from the definition within the JSP.
              For instance,
              <jsp:useBean
              id="myHelloBean"
              scope="session"
              class="foo.bar.HelloBean">
              </jsp:useBean>
              Not class="foo.bar.HelloBean.class"
              Hope this helps.
              Harit Nanavati wrote:
              > Hi,
              > Anyone who got java-beans working with WL JSP? I could not get even the
              > hello bean to work. I am getting a error message saying somthing like
              > "foo.bar.HelloBean.class is not a bean" .
              > Is there any perticular reason for the abuse of not including java bean
              > example in JSP examples?
              > I will greatly appreciate any help in this direction.
              > Thank you in advance
              > -Harit
              

  • JSF Getting Started Example not Working

    I've installed and configured JSF according to CoreJSF 1st Chapter example "A simple JSF Application" (available at http://horstmann.com/corejsf/). The only different thing i've done is to put the jsp pages in a separate folder within the root web application folder. The JSF seems to be properly configured, since i'm able to see the UI components in the login page. However, once I click login button, the application takes me once more to the login page (same page that put the request). I figure it is a problem with the navigation file, I've changed the faces-config.xml including "jsf/welcome.jsp" as target since "jsf" is the separate directory I created for JSP files. I does not work (not getting exceptions though). Any prompt help will be highly appreciated.
    These are the files:
    webapproot/jsf/index.jsp
    <html>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <head>
    <title>A Simple Java Server Faces Application</title>
    </head>
    <body>
    <h:form>
    <h3>Please enter your name and password.</h3>
    <table>
    <tr>
    <td>Name:</td>
    <td>
    <h:inputText value="#{user.name}"/>
    </td>
    </tr>
    <tr>
    <td>Password:</td>
    <td>
    <h:inputSecret value="#{user.password}"/>
    </td>
    </tr>
    </table>
    <p>
    <h:commandButton value="Login" action="login"/>
    </p>
    </h:form>
    </body>
    </f:view>
    </html>
    webapproot/jsf/welcome.jsp
    <html>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <head>
    <title>A Simple Java Server Faces Application</title>
    </head>
    <body>
    <h:form>
    <h3>
    Welcome to Java Server Faces,
    <h:outputText value="#{user.name}"/>!
    </h3>
    </h:form>
    </body>
    </f:view>
    </html>
    webapproot/WEB-INF/faces-config.xml
    <faces-config>
         <navigation-rule>
         <from-view-id>jsf/index.jsp</from-view-id>
         <navigation-case>
         <from-outcome>login</from-outcome>
         <to-view-id>jsf/welcome.jsp</to-view-id>
         </navigation-case>
         </navigation-rule>
         <managed-bean>
         <managed-bean-name>user</managed-bean-name>
         <managed-bean-class>co.edu.unal.dnic.licapa.capa.UserBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>
    webapproot/WEB-INF/web.xml
    <web-app>
         <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.faces</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
         <welcome-file>/index.html</welcome-file>
         </welcome-file-list>
         <display-name>DNIC - Capacitaci�n 1.0.1</display-name>
         <description>
         DNIC - Capacitaci�n 1.0.1
    </description>
    </web-app>
    Since I'm not getting any java exceptions I figure the UserBean class is working properly.
    Thank you......
    Julian

    try to put / at the beginning of the from-view-id and to-view-id

  • Hans Javaserver 3 book example not working

    Hello,
    This is from Hans Javaserver Pages Third edition
    <%-- Verify that the user is logged in --%>
    <c:if test="${validUser == null}">
    <jsp:forward page="login.jsp">
    <jsp:param name="origURL" value="${pageContext.request.requestURL}" />
    <jsp:param name="errorMsg" value="log in first." />
    </jsp:forward>
    </c:if>
    The above example does not seem to work.
    The code below seems to work
    <%-- Verify that the user is logged in --%>
    <c:if test="${validUser.name == null}">
    <jsp:forward page="login.jsp">
    <jsp:param name="origURL" value="${pageContext.request.requestURL}" />
    <jsp:param name="errorMsg" value="log in first." />
    </jsp:forward>
    </c:if>
    Any ideas why his example is not working on Tomcat 5.0?
    Thanks
    Frank

    Hi I was trying the same thing and was wondering why it doesn't accept the origURL, well it never takes the value of it at all and just skips the page that was requested and goes to mail.jsp no matter what.
    <c:choose>
    <c:when test="${! empty param.origURL}" >
    <c:redirect url="${param.origURL}" />
    </c:when>
    <c:otherwise>
    <c:redirect url="main.jsp" />
    </c:otherwise>
    </c:choose>
    The value of origURL is never passed to this authentication page! I would also like to know the reason why?
    Also I have a question to your last piece of code that works: where is the name parameter taken from? Is it the same as userName that is passed as a parameter from the login page? or is it something else? I'd really appreciate your help...
    <c:if test="${validUser.name == null}">

  • Problem getting JSP examples to work

    Hi,
    I just installed weblogic few days back. I'm trying to run the jsp examples.
    I cannot get them work. I keep getting 404 object not found error when I try
    an url like
    http://localhost:7004/examplesWebApp/HellowWorld.jsp
    . I followed the docs and run the scripts.
    There is a HellowWorld.jsp file under
    .\bea\wlserver\config\examples\applications\defaultWebApp.
    Also I can run petstore fine or hellowworld works with default server.
    But when I cannot get it tow work with exampleserver
    Any pointer to debug is greatly appreciated.
    There was a 'servlet mapping' error in hte xml parsing in the weblogic.xml file
    which come with istallaiton for the example.
    Anyone experienced that.
    thanks

    if you put the HellowWorld.jsp under
    \bea\wlserver\config\examples\applications\defaultWebApp. that means you
    have it under default webapp, then your url should be:
    http://localhost:7004/HellowWorld.jsp
    The url pattern should be http://server:port/webappName/filename.jsp
    thanks
    "b gosh" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi,
    I just installed weblogic few days back. I'm trying to run the jspexamples.
    I cannot get them work. I keep getting 404 object not found error when Itry
    an url like
    http://localhost:7004/examplesWebApp/HellowWorld.jsp
    I followed the docs and run the scripts.
    There is a HellowWorld.jsp file under
    \bea\wlserver\config\examples\applications\defaultWebApp.
    Also I can run petstore fine or hellowworld works with default server.
    But when I cannot get it tow work with exampleserver
    Any pointer to debug is greatly appreciated.
    There was a 'servlet mapping' error in hte xml parsing in the weblogic.xmlfile
    which come with istallaiton for the example.
    Anyone experienced that.
    thanks

  • JSP-Editor not working properly

    Hi everybody,
    I am working with ISA5.0 and NWDI. I have checked out the Web-Module Project crm/isa/web/b2b.
    Now I would like to modify JSP-Files. Unfortonately the JSP-Editor is not working properly.
    The JSP-Editor cannot resolve references to Tag-Libraries like
    <%@ taglib uri="/isa" prefix="isa" %>
    Furthermore I get Errors with JSP-Includes
    <%@ include file="checksession.inc" %>
    The JSP-Editor does not show any other compile errors until the above mentioned errors are resolved.
    So the JSP-Editor does not help with compile errors.
    I have tried to use Lomboz instead, but due to the modularization in ISA5.0 and NWDI (ie the Taglibraries are defined in a separate module) I did not get it to work either.
    Does anybody have experience on how to get the JSP editor to work properly?
    Thanks for your help,
    Andreas

    Highlite the clip in the timeline, control click on it and choose "send to soundtrack as an audio file project" in the pop up menu. Don't do an "open with editor". This should work.
    If it doesn't and it's just the one clip, you could launch Soundtrack and then open that clip as an audio project . . . don't do a open with editor, just open it directly. Make your adjustment and save over writing the file with the new audio. You may want to copy the clip first as a backup. When you open your FCP project, you'll have to re-link the clip. Once you do it will show up with the new sound.

  • SISO OFDM TDD Example not working

    I was trying to use SISO OFDM example.
    But to surprise Its not working in both the two cases:-
    1. Loopback over air (.GVI gives no error but VLC is not receiving ant stream)
    2 No loopback : An error is returned on turning on the Base station:-
    The mobile station parameters are as in below figure:
    Can somen one explain the source of inusoid wave? I am surprised at it!
     

    Have you ever get the SISO OFDM TDD Example work with two device?
    Currently, I am doing the SISO OFDM TDD Example like your work with two USRP-RIO 2953R. I can do streaming within one USRP-RIO with loop back selection in the example, but when it comes to two USRP-RIO streaming, one is base station and the other is UE,  but the demo seems to be not working.

  • Core/examples/sessions/Broker example not working

    Guys
    I am trying the example with Oracle database instead of the HSQL database. I replaced the driver & url strings and put the classes12.jar in the classpath
    But I continue to get the following error. Can someone please tell me what I am missing.
    D:\toplink\examples\core\examples\sessions\broker>D:\JDev9i\jdk\bin\java.exe -classpath ""D:\JDev9i\jdk\lib\tools.jar";"d:\to
    plink\ant\lib\jaxp.jar";"d:\toplink\ant\lib\jakarta-ant-1.4.1-optional.jar";"d:\toplink\ant\lib\crimson.jar";"d:\toplink\ant\
    lib\ant.jar";.;d:\toplink\core\lib\toplink.jar;D:\JDev9i\jdbc\lib\classes12.jar;d:\toplink\core\lib\toplink.
    jar;D:\JDev9i\jdbc\lib\classes12.jar" -Dant.home=d:\toplink\ant -Dtl.home=d:\toplink -Dwls61.home= -Dwls70.home= -Dwas.home=
    -Doracle.home=D:\JDev9i\OC4J903 -Dexamples.home=d:\toplink\examples -Dtoplink.dir=d:\toplink\core\lib -Dtoplink.library=topli
    nk.jar,xerces.jar -Dtoplink.weblogic.path=d:\toplink\wls_cmp\lib\tl_wlsx.jar -Dtoplink.was.path=d:\toplink\was_cmp\lib\tl_wa
    sx.jar -Dhsql.path=d:\toplink\HSQL\lib\hsqldb.jar -DDEBUG=on org.apache.tools.ant.Main runExample -DtestClass=examples.sessions.broker.Demo
    Buildfile: build.xml
    init:
    verify.build.done:
    runExample:
    [java] 2003.05.19 03:54:35.625--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--TopLink, version:TopLink - 9.0
    .3 (Build 423)
    [java] 2003.05.19 03:54:35.685--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--connecting(DatabaseLogin(
    [java] platform => OraclePlatform
    [java] user name => "asdfbf"
    [java] datasource URL => "jdbc:oracle:thin:@localhost:fims"
    [java] ))
    [java] 2003.05.19 03:54:35.705--DatabaseSession(11)--Thread[main,5,main]--EXCEPTION [TOPLINK-4003] (TopLink - 9.0.3 (Bui
    ld 423)): oracle.toplink.exceptions.DatabaseException
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.LOCAL EXCEPTION ST
    ACK:

    One more thing to add:
    I am not able to get any of the examples to work with Oracle database. Again the only thing I suppose I need to change are the folloowing lines in the EmployeeProject.java
         login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
         login.setDriverClassName("oracle.jdbc.driver.OracleDriver");
         login.setConnectionString("jdbc:oracle:thin:@localhost:1522:fims");
         login.setUserName("kumarv");
         login.setEncryptedPassword("7AD96CD575D1A7FCAA504BA7E4FC");
    Also one line change in the sessions.xml file to use the OraclePlatform instead of the HSQLPlatform.
    Has any one got these to work with Oracle, Any help is really appreciated.
    classes12.jar is in the classpath so I don;t understand why I get the execption that:
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.
    [java] oracle.toplink.exceptions.DatabaseException oracle.toplink.exceptions.DatabaseException.configurationErrorCla
    ssNotFound(java.lang.String)
    Thanks

  • VideoPhoneLabs example not working

    Dear dev-team, could you also give more information about why
    the example-application (VideoPhoneLabs.swf) does not work, when I
    upload all the assets (not reg.cgi, while I want to use the
    Stratus-service) to a server (
    http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.html).
    I am connected to the Stratus-webservice, but I get an
    idManagerError but does not know how I can solve this.
    I think it has to do with my id, but when I login to
    adobe.com and try to retrieve an ID I get the same which I am using
    at above example. So, I think my ID is not blocked or something.
    And I know that the Stratus-webservice is not down while your
    online version of the VideoPhoneLabs is working.
    I see in my error:
    Error #2048: Schending van beveiligingssandbox:
    http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.swf
    kan geen gegevens laden van
    rtmfp://stratus.adobe.com/bc25bb58c9cf187e4178b40e-c16df88ec798/?identity=80b46c214f4c830 f28186fa40febc0a4a8c323393958ea99a0075b228d870e50&username=joeyvandijk
    which says that it cannot load data from the Stratus-service
    due to a SecurityError.
    So, I cannot run it locally OR on a webserver. Do you have
    some tips what could be the cause?
    Thnx in advance!
    :D

    Hi,
    I am trying the VideoPhoneLabs app, but still do not work.
    Please give some advices.
    I have done the procedure according to ReadMe.txt, then
    reg.cgi copied into my local web server. After that i got some
    error message as following when i accessed to it from another pc.
    [In the debugger window of FP10]
    TypeError: Error #1009: null <ono: sorry for japanese, i
    deleted them>
    at VideoPhoneLabs/onDisconnect()[C:\Users\ono\Documents\Flex
    Builder 3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:548]
    at
    VideoPhoneLabs/idManagerEvent()[C:\Users\ono\Documents\Flex Builder
    3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:484]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at HttpIdManager/httpFault()[C:\Users\ono\Documents\Flex
    Builder 3\VideoPhoneLabs\src\HttpIdManager.as:120]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\AbstractInvoker.as:170
    at mx.rpc.http::HTTPService/
    http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:852
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188
    at
    mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
    at
    mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
    at
    DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    [In the apps STATUS window]
    Connecting to rtmfp://stratus.adobe.com
    NetConnection event: NetConnection.Connect.Success
    Connected, my ID:
    c0e8c83410b0dbf0b66644b8e2418abb67a0d3a31ba42d55af961c140db0bf70
    ID event: idManagerError
    Error description: HTTP error:
    (mx.messaging.messages::AcknowledgeMessage)#0
    body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
    Final//EN">
    <html>
    <head>
    <title>Index of /VideoPhoneLabs</title>
    </head>
    <body>
    <h1>Index of /VideoPhoneLabs</h1>
    <table><tr><th><img
    src="/icons/blank.gif" alt="[ICO]"></th><th><a
    href="?C=N;O=D">Name</a></th><th><a
    href="?C=M;O=A">Last
    modified</a></th><th><a
    href="?C=S;O=A">Size</a></th><th><a
    href="?C=D;O=A">Description</a></th></tr><tr><th
    colspan="5"><hr></th></tr>
    <tr><td valign="top"><img
    src="/icons/back.gif" alt="[DIR]"></td><td><a
    href="/">Parent
    Directory</a></td><td> </td><td
    align="right"> - </td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="AC_OETags.js">AC_OETags.js</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">8.4K</td></tr>
    <tr><td valign="top"><img
    src="/icons/text.gif" alt="[TXT]"></td><td><a
    href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">4.2K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">735K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">657 </td></tr>
    <tr><th
    colspan="5"><hr></th></tr>
    </table>
    <address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
    Port 80</address>
    </body></html>
    clientId = "DirectHTTPChannel0"
    correlationId = "D8807C92-CB35-13AA-386C-3B10784B610C"
    destination = ""
    headers = (Object)#1
    DSStatusCode = 200
    messageId = "C3AF012E-AC2B-464D-C982-3B1078DAB158"
    timestamp = 0
    timeToLive = 0
    Disconnecting.
    Hanging up call
    NetConnection event: NetConnection.Connect.Closed
    ID event: idManagerError
    Error description: HTTP error:
    (mx.messaging.messages::AcknowledgeMessage)#0
    body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
    Final//EN">
    <html>
    <head>
    <title>Index of /VideoPhoneLabs</title>
    </head>
    <body>
    <h1>Index of /VideoPhoneLabs</h1>
    <table><tr><th><img
    src="/icons/blank.gif" alt="[ICO]"></th><th><a
    href="?C=N;O=D">Name</a></th><th><a
    href="?C=M;O=A">Last
    modified</a></th><th><a
    href="?C=S;O=A">Size</a></th><th><a
    href="?C=D;O=A">Description</a></th></tr><tr><th
    colspan="5"><hr></th></tr>
    <tr><td valign="top"><img
    src="/icons/back.gif" alt="[DIR]"></td><td><a
    href="/">Parent
    Directory</a></td><td> </td><td
    align="right"> - </td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="AC_OETags.js">AC_OETags.js</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">8.4K</td></tr>
    <tr><td valign="top"><img
    src="/icons/text.gif" alt="[TXT]"></td><td><a
    href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">4.2K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">735K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">657 </td></tr>
    <tr><th
    colspan="5"><hr></th></tr>
    </table>
    <address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
    Port 80</address>
    </body></html>
    clientId = "DirectHTTPChannel0"
    correlationId = "7863A499-3906-0CC3-1AED-3B1078EAAFFE"
    destination = ""
    headers = (Object)#1
    DSStatusCode = 200
    messageId = "716811AE-4A81-3468-4DAA-3B107945F936"
    timestamp = 0
    timeToLive = 0
    Disconnecting.
    Hanging up call
    Thank you for any advices.
    Ono Keiji

  • CookieCounter example not working.

    I have installed CookieCounter servlet example on my weblogic server.
              The properties needed for cookies management are also set in
              weblogic.properties (by default its there).
              The servlet works fine but, the servlet is unable to send/set cookiesCounter
              on my browser (I 've set to cookies prompt/cookies enable on my browser).
              Code, properties file and browser settings seems to be ok, still its not
              working. Any clues...
              PLATFORM: Server - Solaris
              Client - Win98 / internet explorer
              Thanks,
              Rajesh
              

    that was good....and fast....
    I modified the code to be:
    class Reader extends Thread
       Calculator c;
       public Reader(Calculator calc)
          c = calc;
       public void run()
          synchronized(c)
             try
                System.out.println("Waiting for calculation...");
                c.wait();
                System.out.println("I am just after the wait()");
             catch(InterruptedException e) {}
             System.out.println("Total is: " + c.total);
       public static void main(String[] args)
          Calculator calculator = new Calculator();
          calculator.start();
          new Reader(calculator).start();
          new Reader(calculator).start();
          new Reader(calculator).start();
    class Calculator extends Thread
       int total;
       public void run()
          synchronized(this)
             try
                for(int i=0; i<100; i++)
                   total += 1;
                   Thread.sleep(50);
                notifyAll();
             catch(InterruptedException e)
                e.printStackTrace();
    }and it worked just fine....thanks much

  • NotifyAll example not working

    Folks,
    I am trying to understand how threading works, and got this example from a book, can you please help me understand why it is not working.
    class Reader extends Thread
       Calculator c;
       public Reader(Calculator calc)
          c = calc;
       public void run()
          synchronized(c)
             try
                System.out.println("Waiting for calculation...");
                c.wait();
                System.out.println("I am just after the wait()");
             catch(InterruptedException e) {}
             System.out.println("Total is: " + c.total);
       public static void main(String[] args)
          Calculator calculator = new Calculator();
          calculator.start();
          new Reader(calculator).start();
          new Reader(calculator).start();
          new Reader(calculator).start();
    class Calculator extends Thread
       int total;
       public void run()
          synchronized(this)
             for(int i=0; i<100; i++)
                total += 1;
             notifyAll();
    }When running it:
    D:\Test>java Reader
    Waiting for calculation...
    Waiting for calculation...
    Waiting for calculation...
    --> it never returns......

    that was good....and fast....
    I modified the code to be:
    class Reader extends Thread
       Calculator c;
       public Reader(Calculator calc)
          c = calc;
       public void run()
          synchronized(c)
             try
                System.out.println("Waiting for calculation...");
                c.wait();
                System.out.println("I am just after the wait()");
             catch(InterruptedException e) {}
             System.out.println("Total is: " + c.total);
       public static void main(String[] args)
          Calculator calculator = new Calculator();
          calculator.start();
          new Reader(calculator).start();
          new Reader(calculator).start();
          new Reader(calculator).start();
    class Calculator extends Thread
       int total;
       public void run()
          synchronized(this)
             try
                for(int i=0; i<100; i++)
                   total += 1;
                   Thread.sleep(50);
                notifyAll();
             catch(InterruptedException e)
                e.printStackTrace();
    }and it worked just fine....thanks much

  • Hello World XML/XSL example not working in IE

    I am trying to get the "Hello World" XML/XSL example to work in IE.
    Could anyone help me out?
    The code follows:
    hello.xml
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="hello.xsl"?>
    <hello-world>
    <greeter>An XSLT Programmer</greeter>
    <greeting>Hello, World!</greeting>
    </hello-world>
    hello.xsl
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:template match="/hello-world">
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    <H1><xsl:value-of select="greeting"/></H1>
    <xsl:apply-templates select="greeter"/>
    </BODY>
    </HTML>
    </xsl:template>
    <xsl:template match="greeter">
    <DIV>from
    <I><xsl:value-of select="."/></I>
    </DIV>
    </xsl:template>
    </xsl:stylesheet>
    Both files are in the same directory.
    When hello.xml is opened in IE, the output displayed is just, "from".
    What's wrong, and where?
    Please help!
    - Edwin.

    Hi edwinwaz,
    In response to your question, pls refer to this url
    http://www.w3schools.com/xsl/el_template.asp
    and take a look at the "note" in red.
    It says that IE5.X have non-standard behavior on the element <xsl:template>
    In addition, I have tested your code it works fine.
    Just to add something on your code here.
    I noticed that you do this
    <xsl:apply-templates select="greeter"/>
    and then in another template you do this
    <xsl:template match="greeter">
    <!-- code -->
    </xsl:template>
    In this case, it does work because "greeter" is a top-level element but if "greeter" is anything underneath the top-level element. It won't work.
    Actually, I discovered this after taking a look at your example and
    I was surprised that the code above worked and then I did some testing and discovered this.
    I am learning XML too now... So, I am happy to know this :).
    regards

Maybe you are looking for

  • Changing the Hierarchy of File organisation in iTunes Media.

    Hi All, Am sure many are facing this issue that i have, from what posts I've seen so far. It's the issue of having sorted or organised your music with iTunes, and when you need to move songs to your phone or back up external HArd Disk, we need to mov

  • Photos not showing in order of date

    Since a recent update of iphoto, the photos in albums appear in mixed order rather than in date order which makes it difficult to find and select groups of photos. Anyone else have this problem and a solution?

  • Dual Screen setup with laptop

    I have the ideapad u400.. is it possitble to connect 2 external monitors to this machine to have 3 displays if not.. can i use the 2 external monitors and just close the lid to the laptop to use just 2 monitors? let me know Thanks.

  • "No camera attched" error..using iSight in iMovie HD

    I am using: iMac G5 2GHz OSX 10.4.2 iMovie HD 5.0.2 I have all software updates downloaded. I have all programs closed except iMovie. I only have the iSight (firewire port) and a Mighty Mouse (USB port) plugged in. Keyboard is bluetooth. When I run i

  • Need a VNC Desktop Companion

    I am trying to set up a remote control connection (VNC Server) on an old G5 iMac so I can control it remotely from my iPhone/iPad.  Getting a )free) VNC client on the iOS devices is not an issue.  I already downloaded PocketCloud. In order to make th