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

List:       barracuda
Subject:    Re: [Barracuda] FW: Barracuda:  Cannot load servlet name...
From:       Jacob Kjome <hoju () visi ! com>
Date:       2003-01-28 14:32:33
[Download RAW message or body]

Hi David,

You can ignore the WEB-INF/jars directory for deployment purposes.  That 
said, it does contain some jars that are needed at runtime.  The reason 
they are in that directory rather than WEB-INF/lib is that the Sun class 
loading spec and the servlet spec forbid endorsed packages to be in 
WEB-INF/lib.  That includes some packages from javax.xml.* and org.w3c.dom 
which are in xerces-1.4.4-xmlc-2.1.jar.

Now, my only experience is with using Tomcat, not Enhydra 5.0.  So, I'll 
give you some hints on using Barracuda in Tomcat at you can map the 
instructions to Enhydra 5.0.

The following need to be put in CATALINA_HOME/shared/lib:

xerces-1.4.4-xmlc-2.1.jar
gnu-regexp-1.1.4.jar
jtidy-r7-xmlc-2.1.jar
xmlc-2.1.jar
wireless-xmlc-2.1jar
xhtml-xmlc-2.1.jar

Note: the latter two aren't needed unless you are doing wireless and/or 
XHTML DOM programming.

Everything else Barracuda related can go in WEB-INF/lib such as:

barracuda-core.jar
plankton.jar
log4j.jar

Note: the former 2 are in lib-ext (barracuda.jar contains extra examples 
and tutorials that your app doesn't require).
Using the latest log4j.jar either from Barracuda or elsewhere is fine.

One other thing to note is that Enhydra-5.0 should be able to work with the 
latest CVS.  You might want to try that.  See information on obtaining the 
latest CVS at:
http://barracudamvc.org/Barracuda/docs/cvs.html

If you do get the latest CVS, the instructions are a bit different for the 
libraries needed.  Actually, it is probably more straightforward.  Let us 
know if you have further questions.  I'm sure we can get this to work on 
Enhydra 5.0.

Jake


At 07:21 AM 1/28/2003 -0500, you wrote:
>I'm using the version shiped with Enhydra 5.0. I have the barracuda jars in my
>WEB-INF/lib directory along with the applications jar. I have nothing in the
>WEB-INF/jars directory. Is this the correct way to deploy a Barracuda
>application for Enhydra?
>
>David Robison
>
>Quoting Jacob Kjome <hoju@visi.com>:
>
> > Hi David,
> >
> > First, what version of Barracuda are you using?  Barracuda-1.1.1 is what
> >
> > shipped with Enhydra 5.0.  Are you using older libraries than that?
> > Sorry,
> > I can't verify anything on Enhydra 5.0 because I don't use it.  Anyone
> > else
> > have any experience with Enhydra 5.0?
> >
> > Jake
> >
> > At 09:32 AM 1/27/2003 -0700, Christian Cryder wrote:
> > >"urn:schemas-microsoft-com:office:office" xmlns:w =
> > >"urn:schemas-microsoft-com:office:word">
> > >-----Original Message-----
> > >From: barracuda-admin@enhydra.org
> > [mailto:barracuda-admin@enhydra.org]On
> > >Behalf Of David R Robison
> > >Sent: Monday, January 27, 2003 8:09 AM
> > >To: barracuda@enhydra.org
> > >Subject: Barracuda: Cannot load servlet name...
> > >
> > >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
> > >
> > >
> > >
> > >
> >

[Attachment #3 (text/html)]

<html>
<body>
<font size=3><br>
Hi David,<br><br>
You can ignore the WEB-INF/jars directory for deployment purposes.&nbsp;
That said, it does contain some jars that are needed at runtime.&nbsp;
The reason they are in that directory rather than WEB-INF/lib is that the
Sun class loading spec and the servlet spec forbid endorsed packages to
be in WEB-INF/lib.&nbsp; That includes some packages from javax.xml.* and
org.w3c.dom which are in xerces-1.4.4-xmlc-2.1.jar.&nbsp; <br><br>
Now, my only experience is with using Tomcat, not Enhydra 5.0.&nbsp; So,
I'll give you some hints on using Barracuda in Tomcat at you can map the
instructions to Enhydra 5.0.<br><br>
The following need to be put in CATALINA_HOME/shared/lib:<br><br>
xerces-1.4.4-xmlc-2.1.jar<br>
gnu-regexp-1.1.4.jar<br>
jtidy-r7-xmlc-2.1.jar<br>
xmlc-2.1.jar<br>
wireless-xmlc-2.1jar<br>
xhtml-xmlc-2.1.jar<br><br>
Note: the latter two aren't needed unless you are doing wireless and/or
XHTML DOM programming.<br><br>
Everything else Barracuda related can go in WEB-INF/lib such 
as:<br><br>
barracuda-core.jar<br>
plankton.jar<br>
log4j.jar<br><br>
Note: the former 2 are in lib-ext (barracuda.jar contains extra examples
and tutorials that your app doesn't require).<br>
Using the latest log4j.jar either from Barracuda or elsewhere is
fine.<br><br>
One other thing to note is that Enhydra-5.0 should be able to work with
the latest CVS.&nbsp; You might want to try that.&nbsp; See information
on obtaining the latest CVS at:<br>
<a href="http://barracudamvc.org/Barracuda/docs/cvs.html" \
eudora="autourl">http://barracudamvc.org/Barracuda/docs/cvs.html</a><br><br> If you \
do get the latest CVS, the instructions are a bit different for the libraries \
needed.&nbsp; Actually, it is probably more straightforward.&nbsp; Let us know if you \
have further questions.&nbsp; I'm sure we can get this to work on Enhydra \
5.0.<br><br> Jake<br><br>
<br>
At 07:21 AM 1/28/2003 -0500, you wrote:<br>
<blockquote type=cite class=cite cite>I'm using the version shiped with
Enhydra 5.0. I have the barracuda jars in my<br>
WEB-INF/lib directory along with the applications jar. I have nothing in
the<br>
WEB-INF/jars directory. Is this the correct way to deploy a
Barracuda<br>
application for Enhydra?<br><br>
David Robison<br><br>
Quoting Jacob Kjome &lt;hoju@visi.com&gt;:<br><br>
&gt; Hi David,<br>
&gt; <br>
&gt; First, what version of Barracuda are you using?&nbsp;
Barracuda-1.1.1 is what<br>
&gt; <br>
&gt; shipped with Enhydra 5.0.&nbsp; Are you using older libraries than
that? <br>
&gt; Sorry, <br>
&gt; I can't verify anything on Enhydra 5.0 because I don't use it.&nbsp;
Anyone<br>
&gt; else <br>
&gt; have any experience with Enhydra 5.0?<br>
&gt; <br>
&gt; Jake<br>
&gt; <br>
&gt; At 09:32 AM 1/27/2003 -0700, Christian Cryder wrote:<br>
&gt; &gt;&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w =
<br>
&gt; &gt;&quot;urn:schemas-microsoft-com:office:word&quot;&gt;<br>
&gt; &gt;-----Original Message-----<br>
&gt; &gt;From: barracuda-admin@enhydra.org<br>
&gt;
[<a href="mailto:barracuda-admin@enhydra.org" \
eudora="autourl">mailto:barracuda-admin@enhydra.org</a>]On <br>
&gt; &gt;Behalf Of David R Robison<br>
&gt; &gt;Sent: Monday, January 27, 2003 8:09 AM<br>
&gt; &gt;To: barracuda@enhydra.org<br>
&gt; &gt;Subject: Barracuda: Cannot load servlet name...<br>
&gt; &gt;<br>
&gt; &gt;Ive recently upgraded from Enhydra 3.1 to Ehnydra 5.0. When I
now try<br>
&gt; to <br>
&gt; &gt;start my Barracuda application, I get the following errors in
the <br>
&gt; &gt;multiserver.log:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:43: Multiserver,INFO: Starting
servlet/application <br>
&gt; &gt;ClientPortal<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:43: Multiserver,DEBUG: initContext() <br>
&gt; &gt;servletID=ClientPortal
context=org.apache.tomcat.core.Context@5d173 <br>
&gt; &gt;path=/ClientPortal
url=file:/home/enhydra/webapps/ClientPortal.<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:43: Multiserver,INFO: Application ClientPortal
has url<br>
&gt; <br>
&gt; &gt;prefix &quot;/ClientPortal&quot;.<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:43: ClientPortal,INFO: Configuring web service
using<br>
&gt; <br>
&gt; &gt;&quot;default&quot;<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:45: ClientPortal,INFO: Configuring web service
using<br>
&gt; <br>
&gt;
&gt;&quot;<a href="file://\home\enhydra\webapps\ClientPortal\WEB-INF\web.xml" \
eudora="autourl">file:/home/enhydra/webapps/ClientPortal/WEB-INF/web.xml</a>&quot;<br>
 &gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,INFO: default: init<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,INFO: jsp: init<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,INFO: ApplicationGateway:
init<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,ERROR: cannot load servlet
name: <br>
&gt; &gt;ApplicationGateway<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: Multiserver,DEBUG: Context time out 
is<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG: SessionMgr:<br>
&gt; StandardSessionHome: <br>
&gt; &gt;BASIC<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG:<br>
&gt; SessionManager.SessionLifetimeMax <br>
&gt; &gt;= 0 sec<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG:<br>
&gt; SessionManager.SessionIdleTimeMax <br>
&gt; &gt;= 324000 sec<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG: <br>
&gt; &gt;SessionManager.SessionNoUserIdleTimeMax = 324000 sec<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG:<br>
&gt; SessionManager.IdleScanInterval = <br>
&gt; &gt;30 sec<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG: <br>
&gt; &gt;SessionManager.SessionEncodeUrlState = Auto<br>
&gt; &gt;<br>
&gt; &gt;2003.01.27 09:56:48: ClientPortal,DEBUG: <br>
&gt; &gt;SessionManager.SessionEncodeRandomParameter = No<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;Here is the portion of multiserver.conf that configures 
the<br>
&gt; application:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;Channel.CM_0.channel_0.Enabled = yes<br>
&gt; &gt;<br>
&gt; &gt;Channel.CM_0.channel_0.Servlet = ClientPortal<br>
&gt; &gt;<br>
&gt; &gt;Channel.CM_0.channel_0.Url = &quot;/ClientPortal&quot;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.Running = yes<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.isInvokerEnabled = true<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.isWARValidated = true<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.DocRoot =<br>
&gt; &quot;/home/enhydra/webapps/ClientPortal&quot;<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.isWARExpanded = true<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.Description = &quot;ORCI Client Portal
web site&quot;<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.isWorkDirPersistent = true<br>
&gt; &gt;<br>
&gt; &gt;Application.ClientPortal.defaultSessionTimeOut = 5400<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.Type = EnhydraDirector<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.ThreadTimeout = 300<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.ClientTimeout = 30<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.SessionAffinity = true<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.QueueSize = 400<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.Port = 8888<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.NumThreads = 200<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.BindAddress = &quot;(All Interfaces)&quot;<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.AuthKey = &quot;(Unauthenticated)&quot;<br>
&gt; &gt;<br>
&gt; &gt;Connection.CM_0.PrefixHint =
&quot;<a href="http://www.openroadsconsulting.com/" \
eudora="autourl">http://www.openroadsconsulting.com</a>&quot;<br> &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;In WEB-INF/lib I have a jar file called ClientPortal.jar. I
seems that<br>
&gt; it <br>
&gt; &gt;may not be loading the jar into the classpath, but Im not sure.
Any<br>
&gt; ideas <br>
&gt; &gt;what might be the problem or ideas on what to check next?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;David R Robison<br>
&gt; &gt;<br>
&gt; &gt;Open Roads Consulting, Inc.<br>
&gt; &gt;<br>
&gt;
&gt;&lt;<a href="http://www.openroadsconsulting.com/" \
eudora="autourl">http://www.openroadsconsulting.com</a>&gt;<a \
href="http://www.openroadsconsulting.com/" \
eudora="autourl">http://www.openroadsconsulting.com</a><br> &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; </font></blockquote></body>
</html>



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

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