[prev in list] [next in list] [prev in thread] [next in thread] 

List:       barracuda
Subject:    RE: [Barracuda] Re: Barracuda:  Cannot load servlet name...
From:       "Christian Cryder" <christianc () granitepeaks ! com>
Date:       2003-01-28 15:35:42
[Download RAW message or body]

Hmmm....it certainly should have, since that's how the servlet spec declares
that Webapps are to work: anything in WEB-INF/lib is supposed to
automatically be available to the webapp. I know that Enhydra is based on an
older version of Tomcat, but I think even that supports the basic webapp
behavior.

Christian

----------------------------------------------
Christian Cryder [christianc@atmreports.com]
Internet Architect, ATMReports.com
Barracuda - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"

> -----Original Message-----
> From: barracuda-admin@barracudamvc.org
> [mailto:barracuda-admin@barracudamvc.org]On Behalf Of David R Robison
> Sent: Tuesday, January 28, 2003 8:30 AM
> To: barracuda@barracudamvc.org
> Subject: RE: [Barracuda] Re: Barracuda: Cannot load servlet name...
>
>
> My problem was that my jars were not in my classpath. I assumed,
> apparently incorrectly, that Enhydra would automatically add the jars in
> the WEB-INF/lib directory to my classpath. When I added these manually
> to the classpath, everything seemed to work fine.
>
> Thanks for the help...
>
> David R Robison
> Open Roads Consulting, Inc.
> http://www.openroadsconsulting.com
>
>
> -----Original Message-----
> From: barracuda-admin@barracudamvc.org
> [mailto:barracuda-admin@barracudamvc.org] On Behalf Of Lok Yek Soon
> Sent: Tuesday, January 28, 2003 9:54 AM
> To: barracuda@barracudamvc.org
> Subject: [Barracuda] Re: Barracuda: Cannot load servlet name...
>
> Assuming you are using the default "run" script to start the server.You
> can
> edit the "run" script in $project/output folder
> and add it the following line after "export CLASSPATH"
>
> echo $CLASSPATH
>
> You can try using this to see if it is in the classpath.
>
> YekSoon
> neuSteps Technologies
> http://neusteps.com
>
> At 10:08 AM 27-01-03 -0500, you wrote:
>
> >Ive recently upgraded from Enhydra 3.1 to Ehnydra 5.0. When I now try
> to
> >start my Barracuda application, I get the following errors in the
> >multiserver.log:
> >
> >
> >
> >2003.01.27 09:56:43: Multiserver,INFO: Starting servlet/application
> >ClientPortal
> >
> >2003.01.27 09:56:43: Multiserver,DEBUG: initContext()
> >servletID=ClientPortal context=org.apache.tomcat.core.Context@5d173
> >path=/ClientPortal url=file:/home/enhydra/webapps/ClientPortal.
> >
> >2003.01.27 09:56:43: Multiserver,INFO: Application ClientPortal has url
>
> >prefix "/ClientPortal".
> >
> >2003.01.27 09:56:43: ClientPortal,INFO: Configuring web service using
> >"default"
> >
> >2003.01.27 09:56:45: ClientPortal,INFO: Configuring web service using
> >"file:/home/enhydra/webapps/ClientPortal/WEB-INF/web.xml"
> >
> >2003.01.27 09:56:48: ClientPortal,INFO: default: init
> >
> >2003.01.27 09:56:48: ClientPortal,INFO: jsp: init
> >
> >2003.01.27 09:56:48: ClientPortal,INFO: ApplicationGateway: init
> >
> >2003.01.27 09:56:48: ClientPortal,ERROR: cannot load servlet name:
> >ApplicationGateway
> >
> >2003.01.27 09:56:48: Multiserver,DEBUG: Context time out is
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG: SessionMgr:
> StandardSessionHome:
> >BASIC
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> SessionManager.SessionLifetimeMax
> >= 0 sec
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> SessionManager.SessionIdleTimeMax
> >= 324000 sec
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> >SessionManager.SessionNoUserIdleTimeMax = 324000 sec
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> SessionManager.IdleScanInterval =
> >30 sec
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> >SessionManager.SessionEncodeUrlState = Auto
> >
> >2003.01.27 09:56:48: ClientPortal,DEBUG:
> >SessionManager.SessionEncodeRandomParameter = No
> >
> >
> >
> >Here is the portion of multiserver.conf that configures the
> application:
> >
> >
> >
> >Channel.CM_0.channel_0.Enabled = yes
> >
> >Channel.CM_0.channel_0.Servlet = ClientPortal
> >
> >Channel.CM_0.channel_0.Url = "/ClientPortal"
> >
> >
> >
> >Application.ClientPortal.Running = yes
> >
> >Application.ClientPortal.isInvokerEnabled = true
> >
> >Application.ClientPortal.isWARValidated = true
> >
> >Application.ClientPortal.DocRoot = "/home/enhydra/webapps/ClientPortal"
> >
> >Application.ClientPortal.isWARExpanded = true
> >
> >Application.ClientPortal.Description = "ORCI Client Portal web site"
> >
> >Application.ClientPortal.isWorkDirPersistent = true
> >
> >Application.ClientPortal.defaultSessionTimeOut = 5400
> >
> >Connection.CM_0.Type = EnhydraDirector
> >
> >Connection.CM_0.ThreadTimeout = 300
> >
> >Connection.CM_0.ClientTimeout = 30
> >
> >Connection.CM_0.SessionAffinity = true
> >
> >Connection.CM_0.QueueSize = 400
> >
> >Connection.CM_0.Port = 8888
> >
> >Connection.CM_0.NumThreads = 200
> >
> >Connection.CM_0.BindAddress = "(All Interfaces)"
> >
> >Connection.CM_0.AuthKey = "(Unauthenticated)"
> >
> >Connection.CM_0.PrefixHint = "http://www.openroadsconsulting.com"
> >
> >
> >
> >In WEB-INF/lib I have a jar file called ClientPortal.jar. I seems that
> it
> >may not be loading the jar into the classpath, but Im not sure. Any
> ideas
> >what might be the problem or ideas on what to check next?
> >
> >
> >
> >David R Robison
> >
> >Open Roads Consulting, Inc.
> >
> ><http://www.openroadsconsulting.com>http://www.openroadsconsulting.com
> >
> >
> >
> >
> >
> >---
> >Incoming mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.443 / Virus Database: 248 - Release Date: 10-Jan-03
>
> _______________________________________________
> Barracuda mailing list
> Barracuda@barracudamvc.org
> http://barracudamvc.org/lists/listinfo/barracuda


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic