Why not try appending the path to the jar file in the run
script?
e.g.
CLASSPATH=$(setclass):$your_path/your.jar
export CLASSPATH
echo $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="">
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 =
"">
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
---
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
---
Outgoing 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
|