RE: Re: Barracuda: Cannot load servlet name...

"David R Robison" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <001901c2c6e2$213a90b0$0864a8c0@D901K911>
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: [email protected]
[mailto:[email protected]] On Behalf Of Lok Yek Soon
Sent: Tuesday, January 28, 2003 9:54 AM
To: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.