You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Thomas Dudziak <to...@gmail.com> on 2005/12/12 00:02:03 UTC
derby.war not working
Hi,
it seems like the derby.war was not created correctly during the build
of the current release. It is only 729 bytes big and contains only the
web.xml file, no jars or other things. And the docs specify the wrong
place for the war - $DERBY_INSTALL/frameworks/NetworkServer/war
instead of $DERBY_INSTALL/lib.
http://db.apache.org/derby/docs/10.1/adminguide/cadminservlet98430.html
regards,
Tom
Re: derby.war not working
Posted by Thomas Dudziak <to...@gmail.com>.
On 12/12/05, Myrna van Lunteren <m....@gmail.com> wrote:
> I always thought derby.war was only supposed to have the web.xml in it.
>
> The web.xml refers to org.apache.derby.drda.NetServlet
> which lives in derbynet.jar.
> You're supposed to make the derbynet.jar available to the app server's
> classpath - either plop it somewhere where it will automatically be picked
> up, or modify the configuration files to include it from your favorite
> location.
Well, the docs don't state explicitly that you have to manipulate the
server's classpath in order to get it working. And IMHO it misses the
point of war files whose promise is to drop them in and the web app
works. I'd like to have either a complete war or, as it is 3 megs
containing the same libraries, at least a mean to create such war. But
I can make do with adjusting the web app within Tomcat, so its no big
problem.
Tom
Re: derby.war not working
Posted by Myrna van Lunteren <m....@gmail.com>.
Hi Tom,
I always thought derby.war was only supposed to have the web.xml in it.
The web.xml refers to org.apache.derby.drda.NetServlet which lives in
derbynet.jar.
You're supposed to make the derbynet.jar available to the app server's
classpath - either plop it somewhere where it will automatically be picked
up, or modify the configuration files to include it from your favorite
location.
Myrna
On 12/11/05, Thomas Dudziak <to...@gmail.com> wrote:
>
> Hi,
>
> it seems like the derby.war was not created correctly during the build
> of the current release. It is only 729 bytes big and contains only the
> web.xml file, no jars or other things. And the docs specify the wrong
> place for the war - $DERBY_INSTALL/frameworks/NetworkServer/war
> instead of $DERBY_INSTALL/lib.
>
> http://db.apache.org/derby/docs/10.1/adminguide/cadminservlet98430.html
>
> regards,
> Tom
>