Hi Bubble.

Sorry, my mistake .

application.xml should contain:



<application>
        <display-name>AppSurvey</display-name>

        <module>
                <web>
                        <web-uri>web</web-uri>
                        <context-root>/</context-root>
                </web>
        </module>
</application>

I must have been missing the <module> tags.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ���ʹ�
Sent: Saturday, September 16, 2000 5:19 AM
To: Orion-Interest
Subject: Re: create a web-app not through a .ear ??


Hello, Rick Bos:

Thanks for your teaching very very much, but I have some trouble.
I have set all config step by step and restart Orion Server.
But Orion give me a error message:
Error instantiating application at file:/C:/orion/applications/test/:
Unknown assembly tag in file:/C:/orion/applications/test/: <web>

Those are my configing:

in orion/config/server.xml
        <application name="test" path="../applications/test/" />

in orion/config/default-web-site.xml :
        <web-app application="test" name="test-web" root="/test" />

The directory structure for my project is:
mypath/META-INF/application.xml
mypath/test-web
mypath/test-web/index.html
mypath/test-web/WEB-INF/web.xml
mypath/test-web/WEB-INF/classes

My application.xml contain:
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EEApplication
1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

<application>
        <display-name>TestApp</display-name>
        <web>
                <web-uri>test-web</web-uri>
                <context-root>/test</context-root>
        </web>
</application>

My web.xml contain:
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
   <display-name>Test Web Application</display-name>
</web-app>


Bubble Chen (2000/9/16 PM 05:05:43)
[EMAIL PROTECTED]

=======================================================
> You should be able to do :
>
> in orion/config/server.xml
>
> <application name="myname" path="mypath">
>
> in orion/config/default-web-site.xml :
>
>   <web-app application="myname" name="web" root="/myname" />
>
> The directory structure for your project would be :
>
>
> mypath/META-INF/application.xml
> mypath/web
> mypath/web/index.html
> mypath/web/WEB-INF/web.xml
> mypath/web/WEB-INF/classes
>
> Your application.xml would contain:
>
> "application.xml" [Read only] 15 lines, 368 characters
> <?xml version="1.0"?>
> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
> Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_
> 2.dtd">
>
> <application>
>         <display-name>MyApp</display-name>
>                 <web>
>                         <web-uri>web</web-uri>
>                         <context-root>/</context-root>
>                 </web>
>         </module>
> </application>
>
>
>
> > -----Original Message-----
> > From:       [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent:       September 15, 2000 3:22 AM
> > To: Orion-Interest
> > Subject:    create a web-app not through a .ear ??
> >
> > Hello:
> >
> > I know orion is a very nice J2EE Application Server.
> > It can auto-deploy our distributing application through a .ear package.
> > But in my some projects I only use JSP and Servlets no any EJB.
> > How do I create a web-app not through a .ear package in orion ?
> >
> > Thanks in advance.
> >
> > (2000/9/15 AM 08:46:42)
> > [EMAIL PROTECTED]
> >
> >
> > ==========================================================
> >  PC home �K�O�q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw
> >  PC home Online �����a�x�@�@ �|���Ĥ@�A�x�W�̤j���J�f����
> > ==========================================================
>
>




==========================================================
 PC home �K�O�q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw
 PC home Online �����a�x�@�@ �|���Ĥ@�A�x�W�̤j���J�f����
==========================================================


Reply via email to