Installing tictactoe JSP 2.0 ??

Hi
I'm Andi, want to try tictactoe example for JSP 2.0
http://otn.oracle.com/sample_code/tech/java/jsps/tictactoe/tictactoe-demo.html
when i try execute this code from command prompt
C:\JDEV\J2EE\HOME>java -jar admin.jar ormi://localhost:23791 admin welcome -depl
oy -file d:\temp\tictactoe.ear -deploymentName tictactoe
i get error, see note.
What's wrong ?
Thanks
Andi
Note:
Error: Unable to find java:comp/ServerAdministrator: Lookup error: java.net.Conn
ectException: Connection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
Administrator: Lookup error: java.net.ConnectException: Connection refused: conn
ect; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:105)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)
javax.naming.NamingException: Lookup error: java.net.ConnectException: Connectio
n refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect [Root exception i
s java.net.ConnectException: Connection refused: connect]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2119
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1665)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:729)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
... 2 more
---- Embedded exception
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2119
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1665)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:729)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)

For the sake of thoroughness I did log is as root and tried. I got the same message, I must be logged in as Administrator. Then I discovered Software Restore in the Utilities folder. I tried it and installed the Classic Environment from my system X.3. disks. I again tried the installation. No luck. Clearly I have no other solution than to buy new software. Just thought I would let you know. As Barbara told me, I would have been the first person to get Photoshop Elements 2.0 to work on X.5. . Thank you again for your suggestions.

Similar Messages

  • Install tictactoe example of JSP 2.0 ?

    Hi
    I'm Andi, try to deploy the tactictoe from JSP2.0 sample exercise.
    http://otn.oracle.com/sample_code/tech/java/jsps/tictactoe/tictactoe-demo.html
    i get error when do from dos command prompt
    C:\JDEV\J2EE\HOME>java -jar admin.jar ormi://localhost:23791 admin welcome -depl
    oy -file d:\temp\tictactoe.ear -deploymentName tictactoe
    What's wrong ?
    Thanks
    Andi
    This's the error :
    Error: Deploy error: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ;
    nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:118)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1500)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1453)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:118)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-t
    ag attribute: xmlns
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribut
    e: xmlns
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns
    at com.evermind.xml.XMLConfig.parseRootNodeValue(XMLConfig.java:307)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:259)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:151)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:235)
    at oracle.oc4j.admin.internal.ApplicationDeployer.initWebModule(Applicat
    ionDeployer.java:370)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:125)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns
    at com.evermind.xml.XMLConfig.parseRootNodeValue(XMLConfig.java:307)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:259)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:151)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:235)
    at oracle.oc4j.admin.internal.ApplicationDeployer.initWebModule(Applicat
    ionDeployer.java:370)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:125)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    Hi,
    JDev10g's embedded OC4J does not have support for JSP2.0.
    Please use the standalone OC4J 10g(10.0.3)build 031119 available at the following location
    http://otn.oracle.com/software/products/ias/preview.html
    Please install the tic-tac-toe demo after downloading and install this OC4J release.
    Hope it helps
    Shefali

  • Install tictactoe example for JSP 2.0 ?

    Hi
    I'm Andi, try to deploy the tactictoe from JSP2.0 sample exercise.
    http://otn.oracle.com/sample_code/tech/java/jsps/tictactoe/tictactoe-demo.html
    i get error when do from dos command prompt
    C:\JDEV\J2EE\HOME>java -jar admin.jar ormi://localhost:23791 admin welcome -depl
    oy -file d:\temp\tictactoe.ear -deploymentName tictactoe
    What's wrong ?
    Thanks
    Andi
    This's the error :
    Error: Deploy error: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ;
    nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:118)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag
    attribute: xmlns
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1500)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1453)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:118)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-t
    ag attribute: xmlns
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribut
    e: xmlns
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns
    at com.evermind.xml.XMLConfig.parseRootNodeValue(XMLConfig.java:307)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:259)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:151)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:235)
    at oracle.oc4j.admin.internal.ApplicationDeployer.initWebModule(Applicat
    ionDeployer.java:370)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:125)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Unknown assembly root-tag attribute: xmlns
    at com.evermind.xml.XMLConfig.parseRootNodeValue(XMLConfig.java:307)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:259)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:151)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:235)
    at oracle.oc4j.admin.internal.ApplicationDeployer.initWebModule(Applicat
    ionDeployer.java:370)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:125)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    Hi,
    JDev10g's embedded OC4J does not have support for JSP2.0.
    Please use the standalone OC4J 10g(10.0.3)build 031119 available at the following location
    http://otn.oracle.com/software/products/ias/preview.html
    Please install the tic-tac-toe demo after downloading and install this OC4J release.
    Hope it helps
    Shefali

  • Check Version of outlook installed using jsp

    Hi,
    Is there any way to find out using JSP what version of outlook is installed on user's machine ?

    No. Remember JSPs do ALL THEIR WORK on the server. All you will ever get is an HTTP Request. If it's not in the request, it's not information you have access to.
    You could always ask them in a form what version of Outlook they have. Then you'd know.

  • Installing tomcat JSP engine

    I am installing TOMCAT so i can run JSP files on my apache webserver. Everything works fine. Installed a new version of Solaris9 installed GCC and after that Apache.....
    No problem I get the basic apache page.. so it is working fine. :-)
    Now we have a problem I installed java and after that I would like to install tomcat... to run tomcat i have to set the enviromental variable JAVA_HOME to the directory where java is installed......
    How the #^&*#^* do I set a enviromental variable... I like to do this when the box boots....
    Anyone with experience installing tomcat on a clean solaris9 box and setting the JAVA_HOME?
    Thanks already.
    Johan.

    I am installing TOMCAT so i can run JSP files on my apache webserver. Everything works fine. Installed a new version of Solaris9 installed GCC and after that Apache.....
    No problem I get the basic apache page.. so it is working fine. :-)
    Now we have a problem I installed java and after that I would like to install tomcat... to run tomcat i have to set the enviromental variable JAVA_HOME to the directory where java is installed......
    How the #^&*#^* do I set a enviromental variable... I like to do this when the box boots....
    Anyone with experience installing tomcat on a clean solaris9 box and setting the JAVA_HOME?
    Thanks already.
    Johan.

  • Installing a JSP app as a JSP portlet

    I am writing a JSP application that uses a MVC Model 3
    architecture - JSP's and corresponding JavaBeans with helper
    Java classes. I now need to install this as a portlet. I tried
    the simplistic idea of creating a provider.xml with the main jsp
    page in the <showPage> tag. But once I redirect to other pages,
    I am seeming out of the portlet environment and the app
    fucntions like a regular JSP application. Are there any
    structural changes I would have to make to my JavaBeans and
    other classes, or to the JSPs? Any documentation on such a
    transition.
    Thanks much in advance,
    Javeed

    An update. If I:
    Enroll a Windows Surface using a local admin account
    Request to install an app from a local standard account it appears stuck on Installing...
    Log back in as the local admin account and wait, the app appears.
    Questions:
    Can the same app be installed into multiple local accounts on the same device? It doesn't look like it.
    Is the local account used when the device is enrolled the only local account that will install Intune apps?
    -jd

  • Install a test JSP Web Server on a mac for a PHP developer

    I am looking to write some simple JSP pages. I need a Java web server and the development kit [JSPWDK or is it JSWDK?]
    I have only Java SE 6.0 installed on my mac. I have Snow Leopard OS.
    I had trouble in the downloads finding the right one, but I downloaded the
    jswdk_0_1_solsparc.tar.z
    I was looking for a regular UNIX JSWDK and didn't find one?
    Will the Solaris Sparc version work for a mac?
    I have apache on my mac. I normally use PHP but for a web project.
    I need the JSP server.
    Can I install the JSP Server on my mac along with the Apache server. This is only for development.
    I have got Zend Framework for PHP running on my mac so I don't want to mess up too much for this test.
    Thanks for any advice or any pages anywhere to help but I can install from a tar file if there isn't too much configuration.
    TIA.

    Hi,
    If you need to install a full development environment with Tomcat in Mac OSX take a look at my tutorial at http://jmaw.blogspot.com.es/2012/08/minimo-entorno-de-desarrollo-java-mac.html. The blog has translation if you need it.
    I hope I can help. Also you can. Install both servers taking care of the ports, usually Tomcat listens requests by the port 8080 while Apache server listens requests by the default http port 80.
    Best regards,
    Jmaw

  • Cannot compile JSP pages in Tomcat 5.0.28

    Hi,
    I'm new to Tomcat and this has been bothering me for days now.
    I have (seemingly) correctly installed Tomcat v5.0.28 and am currently in the process of testing my environment with simple html/jsp pages.
    My server starts up fine with no error messages.
    Testing the server I can access the .html file fine, however I get a HTTP 404 error for the .jsp: The requested resource (/hello/hello.jsp) is not availableI have done the following since installation:
    1. Installed Tomcat to C:\Program Files\jakarta-tomcat-5.0.282. Set the environment variable JAVA_HOME to the value C:\Program Files\Java\jdk1.5.0 (base directory of my java installation)
    3. Even added ;C:\Program Files\Java\jdk1.5.0\bin to the environment variable Path (just in case, for javac)
    4. Enabled the invoker sevlet by uncommenting:
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
        </servlet>and
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>in conf/web.xml
    5. Added an access log valve to locahost
    6. Set ant fork compiles to seperate JVMs:
        <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>fork</param-name>
                <param-value>true</param-value>
            </init-param>
            <init-param>
                <param-name>xpoweredBy</param-name>
                <param-value>false</param-value>
            </init-param>
            <load-on-startup>3</load-on-startup>
        </servlet>6. Installed the .html and .jsp pages to folder %CATALINA_HOME%/webapps/ROOT/helloNow when I bin/startup.bat Tomcat starts without anu error messges. In a browser I can now access http://localhost:8080 and http://localhost:8080/hello/hello.html but not http://localhost:8080/hello/hello.jspHere are my logfiles (in debug mode) for performing the above actions and then shutting down:
    catalina_log.txt
    2006-04-29 18:29:02 EngineConfig: EngineConfig: Processing START
    2006-04-29 18:29:24 EngineConfig: EngineConfig: Processing STOPlocalhost_log.txt
    2006-04-29 18:29:01 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2006-04-29 18:29:01 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2006-04-29 18:29:01 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2006-04-29 18:29:02 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2006-04-29 18:29:02 StandardContext[/servlets-examples]SessionListener: contextInitialized()
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@14eaec9')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@b533b8')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@569c60')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@d67067')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@6db724')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@112da40')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: contextDestroyed()localhost_access_log.txt
    127.0.0.1 - - [29/Apr/2006:18:29:13 +0930] "GET /hello/hello.html HTTP/1.1" 304 -
    127.0.0.1 - - [29/Apr/2006:18:29:19 +0930] "GET /hello/hello.jsp HTTP/1.1" 404 1000Also, my sourced test .html and .jsp files:
    hello.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Simple HTML file to test server setup and configuration.
    Taken from Core Servlets and JavaServer Pages 2nd Edition
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    (C) 2003 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD><TITLE>HTML Test</TITLE></HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1>HTML Test</H1>
    Hello.
    </BODY></HTML>hello.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Simple JSP file to test server setup and configuration.
    Taken from Core Servlets and JavaServer Pages 2nd Edition
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    (C) 2003 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD><TITLE>JSP Test</TITLE></HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1>JSP Test</H1>
    Time: <%= new java.util.Date() %>
    </BODY></HTML>I am getting so frustrated I feel like I have tried everything...

    Thanks for your feedback, I tried all suggestions but still no luck.
    One thing I didn't mention previously was I have also tried the following (note: I have omitted the prefix "%CATALINA_HOME%/webapps"
    to all directory references below):
    1. installed my .jsp directly into /ROOT
    2. installed my .jsp into subdirectory /ROOT/hello
    3. installed my .jsp into /root_copy (identified as a running application by Tomcat manager)
    I think there must a problem in my deployment because the JSP examples (http://localhost:8080/jsp-examples/) compile fine...
    This indicates that JAVA_HOME is set correctly.
    Since my first post I tried installing tomcat from a windows installer into c:\apache\tomcat5.0.28\ and set logging to debug.
    Here's a small dump of 5 logs in localhost_log.2006-05-01.txt:
    2006-05-01 20:08:31 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter]...
    2006-05-01 20:08:32 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/servlets-examples]SessionListener: contextInitialized()Note there was no initialization of the context root_copy, but I'm unsure if there's any relevance here or not.

  • Import CLASSPATH in JSP

    Hi all,
    I am following a guide to install an JSP application on Tomcat.
    The third point is:
    Confirm JAR Files are Included in CLASSPATH
    Please ensure that the .jar files in the WEB-INF/lib/ directory of your web
    application are included in the CLASSPATH for your application.But I don't know how to do it (I'm not an expert of JSP).
    Someone can help me to add the code line(s) in a such way that I can include the WEB-INF/lib/ in the CLASSPATH of my application.
    Thanks
    Enrico

    I've understood now. The google's code,
    <td>
             <iframe name="identity_provider" src="./ProcessResponseServlet"
              width="100%" height="100%" frameborder="1"></iframe>
    </td>is wrong. I've just replaced this with:
    <td>
              <iframe name="identity_provider" src="./identity_provider.jsp"
              width="100%" height="100%" frameborder="1"></iframe>
          </td>But now the problem is always the same because inside this file there is:
    <form name="ServiceProviderForm" action="./CreateRequestServlet" method="post">
      <input type="hidden" name="action" value="Generate SAML Request">
      <input type="hidden" name="returnPage" value="service_provider.jsp">
      <p><center><input type="submit" value="Generate SAML Request"></center></form>
    <%
          String error = (String) request.getAttribute("error");
           String authnRequest = (String) request.getAttribute("authnRequest");
          String redirectURL = (String) request.getAttribute("redirectURL");
          if (error != null) {
          %>
            <p><center><font color="red"><b><%= error %></b></font></center><p>
          <%
          } else {
            if (authnRequest != null && redirectURL != null) {          
          %>
            <p><div style="padding:6px 0px;border-top:solid 1px #3366cc;border-bottom:solid 1px #3366cc"><b>Step 3: Submitting the SAML Request</b></div></p>
            <p>You can now review the generated SAML request before submitting it to the identity provider.</p>
            <p>As noted in the <b>Pre-Transaction Details</b>, when you install this application, it will send SAML authentication requests to the <b>ProcessResponseServlet</b>, which is included in the sample code package.</p>
            <b>Generated SAML XML</b><p>
            <input type="hidden" name="redirectURL" value="<%=redirectURL%>"/>
            <div class="codediv"><%=RequestUtil.htmlEncode(authnRequest)%></div>
            <p><center>
            <input type="button" value="Submit AuthnRequest"
                   onclick="javascript:parent.frames['identity_provider'].location = '<%=redirectURL%>';return true;">
            </center>
         <%
         %>And there is the file "CreateRequestServlet.class" in the "WEB-INF/classes/servlets" and the web.xml maps also this file.
    But when i press the button "Generate SAML Request", I have the usual error:
    HTTP Status 404 - /CreateRequestServlet/CreateRequestServlet
    type Status report
    message /CreateRequestServlet/CreateRequestServlet
    description The requested resource (/CreateRequestServlet/CreateRequestServlet) is not available.
    Sun-Java-System/Web-Services-Pack-1.4Edited by: springbok06 on Jul 29, 2010 4:06 PM

  • Re: execution problem with oracle jsp under apache

    i followed the instruction to install oracle jsp running on apache 1.3.9 and apacheJServ/1.1b3 under win nt 4.0 with sp5. i created a servlet zone to hold the jsp file but for some reason it will not look the the dir specified in the jserv.conf. it look at the dir under apache document root dir.. therefore, i created a dir under the apache root dir and then it was able to compile the hellouser.jsp correctly. when i run lotto.jsp, the image files would not display. why?

    Apache Servlet zones allow you separate servlet (sets) into distinct classloaders. The OJSP servlet needs to exist in a servlet zone. However the content the OJSP servlet operates on (the .jsp file) lives in the document root directory just like your other web content. OJSP does support a configuration/init parameter whereby you can explicitly specify a physical directory other than what is mapped via the Apache settings. Please consult the documentation if you want to do this.
    As for why the lottery images aren't being displayed, more information is needed. The generated page should create local references to the images files. Are the images in where they are expected to be? Can you be more explicit about the URI you send and the physical structure of the Lottery sample in the file system?

  • Oracle JSP engine on Apache

    Hi,
    We have Apache Web server 1.3.9 and Jserv 1.1b3. On top of this, we have installed Oracle JSP engine. We have put the names of all the required jar files and directories in jserv.properties file. But, when we try to access any jsp files from a browser we are getting following error:
    Request URI: /test.jsp
    Exception:
    oracle.jsp.provider.JspCompileException:
    Errors compiling: d:\demos\apache\htdocs\_pages\test.java
    Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*;
    Any idea why this error is happening.
    Thanks in advance,
    null

    Apache JServ implements Servlet 2.0 -- this class library doesn't contain the JSP interface classes. The JSP interface classes are contained in the JSWDK 1.0 (or greater) available from Sun. Download and configure Apache to use this class library AFTER the reference to the servlet 2.0 class library. For more information please check out the Documentation section for JSPs on technet. It contains specific information on configuring/installing for Apache.

  • Where to find a OAF jsp page in oracle apps 11i

    Hi All,
    There is some problem coming in a installed base jsp page as it is not displayed even after 15 mins and there is no error message also. So i wanted to debug this page in install base which is OAF based. Oracle applications 11i is installed but only installed base is in OAF. Where should i be start looking for it?
    Thanks in advance.

    Hi
    "Not displayed" means ... do you see any error message or the page hungs up?
    I suggest you to try running the page from JDeveloper from your local machine. Identify PG name from Menu attached to Install base responsibility in System Administrator.
    Download all class files from install base directory from JAVA_TOP and PG/RN files from mds directory for Install base TOP, to run the page in JDeveloper.
    You can try checking jserv log (or) enable SQL trace / Diagonistics to see if any query is taking long time to execute or if there is a session failure.
    Kishore

  • ANN: New JSP 2.0 Demos on OTN

    New JSP 2.0 Demos
    These demos illustrate a range of JSP features in Oracle Application Server Containers for J2EE 10g (OC4J), including fragments, simple tag handlers, tag files, JSTL, and EL(Expression Language).
    JSP 2.0 Tic-Tac-Toe Demo illustrates how to use JSP 2.0 fragments and simple tag handlers. This demo is built around a game of "Randomized TicTacToe"
    JSP 2.0 Changing Holiday Store Demo illustrates a wide range of JSP features including tag files, JSTL, EL and other JSP 2.0 features. The demo shows how the Web front end of an e-store can display different look and feels based on the selected holiday occasion, and promotes a set of appropriate products for the occasion.
    URL: http://otn.oracle.com/sample_code/tech/java/jsps/content.html
    Thanks
    Shefali
    [OTN IDC Team]

    Here are the five choices I see:
    [list]
    [*] XSU111_ver1_2_1.zip -- to be used with JDBC1.x (JDK1.1.x or later) and loadable into Oracle8.1.5 (486 KB)
    [*] XSU12_ver1_2_1.zip -- to be used with JDBC2.0 (JDK1.2.x or later) and loadable into Oracle8.1.6 or later (508 KB)
    [*] XSU111_816_ver2_1_0_beta.zip -- to be used with JDBC1.0 and JDK1.1.8 (486 KB)
    [*] XSU12_816_ver2_1_0_beta.zip -- to be used with JDBC2.0 (JDK1.2.x or later) and loadable into Oracle8.1.6 (486 KB)
    [*] XSU12_ver2_1_0_beta.zip -- to be used with JDBC2.0 (JDK1.2.x or later) and loadable into Oracle8.1.7 or later (508 KB)
    [list]

  • JAX-RPC and JSP

    Hi all,
    I have created a jax-rpc console app which works fine. (its a fairly simple online shop application). I would like to try and implement it via jsp but have never used jsp before.
    I've tried to follow the coffee-bean example, but the jsp has confused the hell out of me. (getting the cb app to run is fine, but separating out the jax-rpc element is a nightmare, what with the taglibs, build files and all). Despite my best efforts, I have failed to get a simple jsp/jax-rpc page to work.
    In so far as I can tell, it requires two builds to install the jax-rpc service, and another build to install the jsp service on the tomcat server. Is this correct?
    It would be much appreciated if anyone could post a simple example of how to get a basic jsp/jax-rpc service to work. A simple hello world would be just fine! :)
    I know I could figure out jsp alone. Thats not really the problem. Its incorporating the jax-rpc service that is killing me! All comments and suggestions are very welcome.
    //Daniel.

    Hi all,
    I have created a jax-rpc console app which works fine.
    (its a fairly simple online shop application). I would
    like to try and implement it via jsp but have never
    used jsp before.I suggest you invest some time in learning how to work with JSP technology. Usually JSP pages call JavaBeans or EJB components to do the work.
    >
    I've tried to follow the coffee-bean example, but the
    jsp has confused the hell out of me. (getting the cb
    app to run is fine, but separating out the jax-rpc
    element is a nightmare, what with the taglibs, build
    files and all). Despite my best efforts, I have failed
    to get a simple jsp/jax-rpc page to work.The Coffee Break application has two JavaBeans components that do the work of calling the JAX-RPC service: RetailPriceList and CheckoutFormBean.
    >
    In so far as I can tell, it requires two builds to
    install the jax-rpc service, and another build to
    install the jsp service on the tomcat server. Is this
    correct?What do you mean by build? To create a JAX-RPC service you have to generate files with tools, compile those files, package into a WAR, and then deploy.
    The web application containing the JSP pages and compiled JavaBeans components is packaged into another WAR and deployed separately.
    >
    It would be much appreciated if anyone could post a
    simple example of how to get a basic jsp/jax-rpc
    service to work. A simple hello world would be just
    fine! :)
    I know I could figure out jsp alone. Thats not really
    the problem. Its incorporating the jax-rpc service
    that is killing me! All comments and suggestions are
    very welcome.We'll take your comments into account for the next version of the Java Web Services Tutorial.

  • How to install a plugin to eclipse? Thanks.

    I want to install a jsp plugin for my eclipse, but it seems that it is so difficult.
    Where can I find easy to understand steps?
    Thanks.

    So you already have installed the [url http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-SDK-3.1.2-win32.zip]Eclipse SDK 3.1.2.
    Then you downloaded the [url http://download.fr2.forge.objectweb.org/lomboz/lomboz-emf-gef-jem-3.1RC2.zip]Lomboz 3.1RC2 and dependent plugins (lomboz-emf-gef-jem-3.1RC2.zip).
    Then you extracted the lomboz-emf-gef-jem-3.1RC2.zip file into the eclipse folder.
    Then you started Eclipse.
    So what is the problem?

Maybe you are looking for

  • Need a dificult script can't to it myself.

    Hello, I try to keep it short. We have a new idea for a customer of ours. Don't know if it's possible and I hope there is someone that's want to try it and give it a go. I can work it out on paper altough my applescript / programmer skills want do th

  • Can't get past account informatio​n in App World

    I have tried everything but it just doesn't work. After I sign in it takes me right to my account information but then I can't get past that screen..its like an infinite loop. Having a balckberry without being able to use app world sucks. I'm tired o

  • Balnce sheet accounts FC revaluation

    Hi Gurus, Could anybody give me inputs regarding the reval of Foreign currency maintained Balance sheet accounts which are not maintained in open item, mean revaluation of account balances into local currency.. Ex: I have couple of Bank Master accoun

  • Website monitoring tool

    Hi in my organization we are going to have a online traning session by logging to a particular website. is there any tool were we can monitor the website and see number of hits, availability, ip address which are accessing it etc. i have URL monitori

  • Attachment file too large

    Hello, I have messaging server 7. I am composing the message having attachment around 5MB and 4.2 MB It says file too large. I checked the domain level attachment quota, it is unlimited. i tried putting value 10,1000, however no effect. what am I mis