RE: Servlet not found

2000-12-06 Thread PHiL

Thanx, it works fine. But what's does it mean to had a / just before ???
If it's 'as is', okey I accept it :-)

PHiL

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de umesh
> sonavane
> Envoyé : mercredi 6 décembre 2000 13:43
> À : Orion-Interest
> Objet : Re: Servlet not found
>
>
> hi phil
> i saw ur web.xml file for mapping servlet
> try giving forward slash in your  tag
> like this
>
>
>  LoginServlet
>  LoginServlet
>  no description
>
>
> com.stratelia.webactiv.servlets.LoginServlet
>
>
>  LoginServlet
>  /LoginServlet
>
>
> note the forward slash in  tag before ur alias name
> it should work
>
>
> Umesh Sonavane
> Software Engg.
> Verchaska
> www.verchaska.com
>
>
> - Original Message -
> From: PHiL <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Wednesday, December 06, 2000 4:00 PM
> Subject: TR: Servlet not found
>
>
> > Hi,
> >
> > I just could not call servlet, 404 error in the browser...
> >
> > Here is what I've done:
> >
> > Add the EAR file in the in the server.xml
> > 
> >
> > Add the application in the default-web-site.xml
> > 
> >
> > When I start orion, all is ok, auto deploy run and create
> everything in
> the
> > /orion/applications and /orion/application-deployments.
> > Here is the trace:
> > C:\orion>java -jar orion.jar
> > Auto-unpacking C:\orion\applications\webactiv.ear... done.
> > Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
> > Auto-deploying Webactiv (New server version detected)...
> > Auto-deploying ejb-jar-ic3.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic2.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic1.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic5975.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic59754.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic597545.jar (No previous deployment
> found)... done
> .
> > Auto-deploying ejb-jar-ic597.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic6.jar (No previous deployment
> found)... done.
> > Auto-deploying ejb-jar-ic5.jar (No previous deployment
> found)... done.
> > Orion/1.3.8 initialized
> > Auto-deploying NWA War (New server version detected)...
> >
> > When I access to first jsp page:
> http://localhost:port/webactiv/Login.jsp
> it
> > show the page. This page submit Login/passwd to
> > http://localhost:port/webactiv/LoginServlet. The 404 error is here.
> >
> > In the war-ic.war file I use the /WEB-INF/web.xml file to
> declare the
> > servlet and the alias:
> >   
> > LoginServlet
> > LoginServlet
> > no description
> >
> >
> com.stratelia.webactiv.servlets.LoginServlet
> >   
> >   
> > LoginServlet
> > LoginServlet
> >   
> >
> > My servlet classes are located in the
> /WEB-INF/classes/com/.../files.class
> >
> > The deployed EAR is generated with the SUN deployer tool,
> and run today
> for
> > testing purpose under J2EE-RI test server.
> >
> > Really need help to get ride of this one...
> > It's hard job to be new in orion's world!
> >
> > Thanx
> >
> > Philippe PAGET.
> >
>
>






RE: Servlet not found

2000-12-06 Thread PHiL

It works!!!

Juste change tags to this:
/LoginServlet

Now I have others problems, but I'll read a few before asking again :-)

Seems 'context' does not act the same as Weblogic or Tomcat...

Thanx for your support.

Philippe PAGET

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> DeVincentiis
> Giustino
> Envoyé : mercredi 6 décembre 2000 12:16
> À : Orion-Interest
> Objet : R: Servlet not found
>
>
> Hi, looking at orion documentation (web.xml configuration
> file) the syntax
> of url-pattern tag is:
>   /*.thePattern
> so try adding the '/'...
>
> Giustino De Vincentiis
> e-mail: [EMAIL PROTECTED]
>
> -Messaggio originale-
> Da: PHiL [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledì 6 dicembre 2000 10.31
> A: Orion-Interest
> Oggetto: TR: Servlet not found
>
>
> Hi,
>
> I just could not call servlet, 404 error in the browser...
>
> Here is what I've done:
>
> Add the EAR file in the in the server.xml
> 
>
> Add the application in the default-web-site.xml
> 
>
> When I start orion, all is ok, auto deploy run and create
> everything in the
> /orion/applications and /orion/application-deployments.
> Here is the trace:
> C:\orion>java -jar orion.jar
> Auto-unpacking C:\orion\applications\webactiv.ear... done.
> Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
> Auto-deploying Webactiv (New server version detected)...
> Auto-deploying ejb-jar-ic3.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic2.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic1.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic5975.jar (No previous deployment
> found)... done.
> Auto-deploying ejb-jar-ic59754.jar (No previous deployment
> found)... done.
> Auto-deploying ejb-jar-ic597545.jar (No previous deployment
> found)... done.
> Auto-deploying ejb-jar-ic597.jar (No previous deployment
> found)... done.
> Auto-deploying ejb-jar-ic6.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic5.jar (No previous deployment found)... done.
> Orion/1.3.8 initialized
> Auto-deploying NWA War (New server version detected)...
>
> When I access to first jsp page:
http://localhost:port/webactiv/Login.jsp it
show the page. This page submit Login/passwd to
http://localhost:port/webactiv/LoginServlet. The 404 error is here.

In the war-ic.war file I use the /WEB-INF/web.xml file to declare the
servlet and the alias:
  
LoginServlet
LoginServlet
no description

com.stratelia.webactiv.servlets.LoginServlet
  
  
LoginServlet
LoginServlet
  

My servlet classes are located in the /WEB-INF/classes/com/.../files.class

The deployed EAR is generated with the SUN deployer tool, and run today for
testing purpose under J2EE-RI test server.

Really need help to get ride of this one...
It's hard job to be new in orion's world!

Thanx

Philippe PAGET.







Re: Servlet not found

2000-12-06 Thread umesh sonavane

hi phil
i saw ur web.xml file for mapping servlet
try giving forward slash in your  tag
like this

   
 LoginServlet
 LoginServlet
 no description

 com.stratelia.webactiv.servlets.LoginServlet
   
   
 LoginServlet
 /LoginServlet
   

note the forward slash in  tag before ur alias name
it should work


Umesh Sonavane
Software Engg.
Verchaska
www.verchaska.com


- Original Message -
From: PHiL <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 4:00 PM
Subject: TR: Servlet not found


> Hi,
>
> I just could not call servlet, 404 error in the browser...
>
> Here is what I've done:
>
> Add the EAR file in the in the server.xml
> 
>
> Add the application in the default-web-site.xml
> 
>
> When I start orion, all is ok, auto deploy run and create everything in
the
> /orion/applications and /orion/application-deployments.
> Here is the trace:
> C:\orion>java -jar orion.jar
> Auto-unpacking C:\orion\applications\webactiv.ear... done.
> Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
> Auto-deploying Webactiv (New server version detected)...
> Auto-deploying ejb-jar-ic3.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic2.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic1.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic5975.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic59754.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic597545.jar (No previous deployment found)... done
.
> Auto-deploying ejb-jar-ic597.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic6.jar (No previous deployment found)... done.
> Auto-deploying ejb-jar-ic5.jar (No previous deployment found)... done.
> Orion/1.3.8 initialized
> Auto-deploying NWA War (New server version detected)...
>
> When I access to first jsp page: http://localhost:port/webactiv/Login.jsp
it
> show the page. This page submit Login/passwd to
> http://localhost:port/webactiv/LoginServlet. The 404 error is here.
>
> In the war-ic.war file I use the /WEB-INF/web.xml file to declare the
> servlet and the alias:
>   
> LoginServlet
> LoginServlet
> no description
>
>
com.stratelia.webactiv.servlets.LoginServlet
>   
>   
> LoginServlet
> LoginServlet
>   
>
> My servlet classes are located in the /WEB-INF/classes/com/.../files.class
>
> The deployed EAR is generated with the SUN deployer tool, and run today
for
> testing purpose under J2EE-RI test server.
>
> Really need help to get ride of this one...
> It's hard job to be new in orion's world!
>
> Thanx
>
> Philippe PAGET.
>