Title: R: JSP (which uses no beans) does not work with Orion 0.8.2 - HELP !!!!!!!!!!

First of all, Thanks for your time Abraham.

I have no error message at all and no HTML output from the  java code inside the jsp.

Orion is listening on port 80 and everything seems to work fine with html.
my app is under d:\orion\orchestra\web-app and my jsp under d:\orion\orchestra\web-app\jsp

this is my web.site.xml file under my d:\orion\orchestra dir:

<?xml version="1.0"?>
<!DOCTYPE web-site SYSTEM "web-site.dtd">

<web-site host="localhost" port="80">
        <name>INET Orchestra WebSite</name>

        <!-- The default web-app for this site, the web-app specifies -->
        <default-web-app>./inetorchestra-app.xml</default-web-app >
        <web-app>./inetorchestra-app.xml</web-app>

        <!-- Uncomment this to activate the news app -->
        <!-- <web-app root="/news">../demo/news-app/web-app/</web-app> -->
        <!-- Access Log, where requests are logged to -->
        <access-log>./access.log</access-log>

        <!-- Site log, where events/errors are logged -->
        <log>./error.log</log>
</web-site>


this is my inetorchestra-app.xml under my d:\orion\orchestra directory :

<?xml version="1.0"?>
<!DOCTYPE web-application SYSTEM "web-application.dtd">

<web-app>
        <!-- Servlet directory, the directory on the site which is allocated for launching of servlets -->
        <servlet-webdir>/servlet/</servlet-webdir>

        <!-- Where to persist sessions across server restarts.
                Make sure the session/ServletContext objects are
                serializable if you use this option.
        -->
        <persistence-path>./persistence/state.ser</persistence-path>

        <!-- Classpaths used by servlets and beans -->
        <classpath>./servlets</classpath>
        <classpath>./beans</classpath>

        <!-- Document root, root for the documents for this site -->
        <document-root>./web-app</document-root>

        <!-- Principals local to this application -->
        <principals>./principals.xml</principals>

        <!-- A demo servlet, add servlets below -->
        <servlet>
                <jsp-file>./jsp/test.jsp</jsp-file>
        </servlet>
        <welcome-file-list>
                 <welcome-file>index.html</welcome-file>
        </welcome-file-list>

</web-app>

this is my orion config server.xml file (comments elided)

<?xml version="1.0"?>
<!DOCTYPE application-server SYSTEM "application-server.dtd">

<application-server>
        <library-path>../lib</library-path>

<!-- JMS-server config link, uncomment to activate the JMS service -->
<!-- <jms-config>./jms.xml</jms-config> -->

<!-- EJB-server config link, uncomment to activate the EJB service -->
<!-- <ejb-config>./ejb.xml</ejb-config> -->

<!-- RMI-server config link, uncomment to activate the RMI service
<!-- <rmi-config>./rmi.xml</rmi-config> -->

        <global-site-config>../orchestra/web-site.xml</global-site-config>
        <web-site>../orchestra/web-site.xml</web-site>
        <!-- <web-site>another-site.xml</web-site> -->
        <principals>./principals.xml</principals>

        <data-sources>./data-sources.xml</data-sources>
        <!-- <development /> -->

        <!-- Compiler, activate this to specify an alternative compiler such
                as jikes for EJB/JSP compiling. -->
        <!--
                <compiler>
                        <executable>jikes</executable>
                        <classpath>/myjdkdir/jre/lib/rt.jar</classpath>
                </compiler>
        -->
</application-server>

    -----Messaggio originale-----
    Da:     Abraham Kang [SMTP:[EMAIL PROTECTED]]
    Inviato:        mercoled� 19 gennaio 2000 18.11
    A:      'Fiorini Simone'; Orion-Interest
    Oggetto:        RE: JSP (which uses no beans) does not work with Orion 0.8.2 - HELP !!!!!!!!!!

    What is the exact message that you are getting?

    Have you done a "View Source"? to see if anything is being returned?

    Is Orion listening on port 80 or 8080 (You might have to change your link )?

    Ex:
            http://localhost:8080/index.html

    HTH,
    Abraham Kang

    -----Original Message-----
    From:   Fiorini Simone [SMTP:[EMAIL PROTECTED]]
    Sent:   Wednesday, January 19, 2000 7:27 AM
    To:     Orion-Interest
    Subject:        JSP (which uses no beans) does not work with Orion 0.8.2 - HELP !!!!!!!!!!

    it seems to me that JSP in Orion 0.8.2  is not working:
    I've my custom app and I manage to open html files from my webapp dir
    but when I try to GET the JSP file from the html page (IE 4) nothing
    happens:

    this is how orion is started:

    set
    CLASSPATH=.;c:\dev\conductor;c:\forte3l0\install\lib\java\conductor.jar;c:\f
    orte3l0\install\lib\java;d:\orion\tools.jar;d:\orion\orion.jar;c:\jdk1.2.2\l
    ib\dt.jar;

    rem java com.evermind.server.ApplicationServer -verbose class -cl
    %CLASSPATH%
    java -jar orion.jar -cl %CLASSPATH%

    the index.html (calling http://localhost/index.html ):

    <html>
    <head>
            <title>Untitled</title>
    </head>

    <body>
    <P><STRONG>defaul start page</STRONG></P>

    <a href="./jsp/test.jsp">login</a>
    <P>&nbsp;</P>

    </body>
    </html>

    the test.jsp (does not work)

    <html>
    <head>
    <title>Log in</title>
    </head>
    <body>
    <% out.println ("troia") %>


    </body>
    </html>

    what is going on ?
    help please !!!!
    thanks


     << File: ATT00002.html >>

Reply via email to