Here's the output of the jboss-log, when deploying: 11:39:05,845 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/st-testejbclient.war 11:39:06,024 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/st-testejbclient, warUrl=file:/usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/tmp/deploy/server/default/deploy/st-testejbclient.war/93.st-testejbclient.war 11:39:06,060 INFO [EmbeddedCatalinaService41] ClusteredHTTPSessionService not found 11:39:06,061 ERROR [EmbeddedCatalinaService41] Failed to setup clustering, clustering disabled 11:39:06,145 INFO [Engine] WebappLoader[/st-testejbclient]: Deploying class repositories to work directory /usr/local/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/st-testejbclient 11:39:06,151 INFO [Engine] WebappLoader[/st-testejbclient]: Deploy class files /WEB-INF/classes to /usr/local/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/st-testejbclient/WEB-INF/classes 11:39:06,622 INFO [Engine] ContextConfig[/st-testejbclient]: Added certificates -> request attribute Valve 11:39:06,823 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true 11:39:06,834 INFO [Engine] StandardManager[/st-testejbclient]: Seeding random number generator class java.security.SecureRandom 11:39:06,835 INFO [Engine] StandardManager[/st-testejbclient]: Seeding of random number generator has been completed 11:39:06,864 INFO [Engine] StandardWrapper[/st-testejbclient:default]: Loading container servlet default 11:39:06,867 INFO [Engine] StandardWrapper[/st-testejbclient:invoker]: Loading container servlet invoker 11:39:06,876 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/st-testejbclient.war
so the context seems to be set at localhost/st-testejbclient, which is localhost/warname... But what should be next isn't really specified... The servlet class does have to be in the classes subdir, right? Thanks Hans On Wed, 2002-11-27 at 12:12, Jules Gosnell wrote: > what is in your jboss-web.xml ? > > does it mess with your context root ? If so, your warname is probably > being ignored in favour of this entry. > > Jules > > > SainTiss wrote: > > >Hi, > > > >I do have an entry, which looks like this: > > > > <servlet> > > <servlet-name>ClientServlet</servlet-name> > > <display-name>Saint Client Servlet</display-name> > > <servlet-class>eenloketsysteem.ClientServlet</servlet-class> > > > > </servlet> > > > >warname/servlet/eenloketsysteem.ClientServlet doesn't work either... > > > >Hans > > > >On Wed, 2002-11-27 at 09:43, anna schricker wrote: > > > >>if you don't have an entry in web.xml for your servlet >warname/servlet/your.package.servletname should work. > >> > >>-----Ursprüngliche Nachricht----- > >>Von: SainTiss [mailto:[EMAIL PROTECTED]] > >>Gesendet: Mittwoch, 27. November 2002 01:07 > >>An: JBoss Mailing > >>Betreff: Re: [JBoss-user] deploying war file > >> > >> > >>Hi, > >> > >>I'm working without a mapping currently, but > >>warname/servlets/servletname is giving me a 404, just like > >>warname/servlet/servletname... > >> > >>Hans > >> > >>On Tue, 2002-11-26 at 20:10, Emerson Cargnin - SICREDI Serviços wrote: > >> > >>>it depends of the mapping you created on your web.xml > >>> > >>>if no mapping is created, the default is > >>>localhost:8080/warname/servlets/sevletname > >>> > >>>someone correct me if I'm not right. > >>> > >>>you can use servlet mapping to take the servlets from the URL. > >>> > >>>like : > >>> <servlet-mapping> > >>> <servlet-name>HtmlAdaptor</servlet-name> > >>> <url-pattern>/HtmlAdaptor</url-pattern> > >>> </servlet-mapping> > >>> > >>>take a look at tomcat or jboss docs/examples to see how to do it. > >>>a good example can be found at : > >>> > >>>JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/web.xml > >>> > >>>SainTiss wrote: > >>> > >>>>Hi, > >>>> > >>>>I'm trying to create a servlet here... > >>>> > >>>>I've already created a .war file, and jboss says it's been deployed > >>>>correctly... > >>>> > >>>>Now what is the url for the servlet? > >>>> > >>>>localhost:8080/<warname> is the only thing that doesn't yield an error, > >>>>but it doesn't execute the servlet either.. > >>>> > >>>>Thanks > >>>> > >>>>Hans > >>>> > >>>> > >>> > >>>-- > >>>xxxxxxxxxxxxxxxxxxxxxxxxxxxx > >>>| Emerson Cargnin | > >>>| Analista de Sistemas Sr. | > >>>| Tel : (051) 3358-4959 | > >>>| SICREDI Serviços | > >>>| Porto Alegre - Brasil | > >>>|xxxxxxxxxxxxxxxxxxxxxxxxxx| > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.net email is sponsored by: Get the new Palm Tungsten T > >>>handheld. Power & Color in a compact size! > >>>http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >>>_______________________________________________ > >>>JBoss-user mailing list > >>>[EMAIL PROTECTED] > >>>https://lists.sourceforge.net/lists/listinfo/jboss-user > >>> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: Get the new Palm Tungsten T > >>handheld. Power & Color in a compact size! > >>http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >>_______________________________________________ > >>JBoss-user mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > > > > > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ________________________________________________________________________ > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user >
signature.asc
Description: This is a digitally signed message part