Orion would expect any classes in your pack directory to be in a package called
pack.

So if you were to refer to the a servlet called Test.class you would need to
refer to it as pack.Test

I suspect what you are doing is referring to it as just Test.

Also make sure that if you really meant to put Test.java in a package called
pack that you included the appropriate package pack; line in your code.

HTH
Russ

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
> Sent: Friday, October 27, 2000 2:42 AM
> To: Orion-Interest
> Subject: Servlet Location
>
>
> Hi all,
>
> I've successfully deployed an web application to orion server.  I have the
> following file structure:
>
> e:\myapp\META-INF\application.xml
> e:\myapp\myapp-web\WEB-INF\web.xml
> e:\myapp\myapp-web\WEB-INF\classes\pack\Test.class
>
> However, the orion server forces me to put my Test.class (pack\Test.class)
> under \orion\default-web-app/WEB-INF/classes.  Otherwise the server throws
> me "500 Internal Server Error" error message.
>
> I follow the way of depolying in orion-primer, but my application doesn't
> have EJB module.  Can someone please help me to solve the problem as putting
> classes under orion default-web-app does give me trouble.  I must miss
> something.
>
> Thank you.
>
> Yeoman
>
>


Reply via email to