Re: Fwd: Runtime Error While Executing Servlet Based Application
Per Nyfelt <[email protected]> Sat, 25 Jun 2005 18:37:10 +0200
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
I think you are setting the classpath correctly on the client side (tomcat).
But you are not setting up the classpath correctly on the server side
(ozone). One example of what you can do is to add the following to your
deploy section in the ant script:
<mkdir dir="${ozone.home}/classes"/>
<copy todir="${ozone.home}/classes">
<fileset dir="${build.dir}" includes="**/db/*.class"/>
</copy>
Again the mail archive have plenty of discussions about this and so does the
README sections in the samples.
Best regards,
Per
Saturday 25 June 2005 13.10 skrev ratnam tatavarty:
> I hav set the following classpaths :
>
> D:\Languages\Sun\NetBeans3.6\jakarta-tomcat-5.0.19\common\lib\servlet-api.j
>ar; D:\Languages\Sun\NetBeans3.6\jakarta-tomcat-5.0.19\webapps\managerClass;
> D:\Languages\NIC\ozone-1.2\samples\loadClassDiv\build\classes;
> D:\Languages\Sun\NetBeans3.6\jakarta-tomcat-5.0.19\webapps\managerClass\WEB
>-INF\lib\ozoneServer-1.2.jar;
>
> but its not getting executed, still the same error is displayed. please
> kindly let me know the correct paths to be included.
>
> Ratnam Tatavarty.
> JNTU Hyderabad.
>
> Per Nyfelt <[email protected]> wrote:
> Read the instructions at SourceForge!
>
> /Per
>
> Saturday 25 June 2005 12.34 skrev cpratt:
> > How do I get off this list?
> > -C
> >
> >
> > *********** REPLY SEPARATOR ***********
> >
> > On 6/25/2005 at 8:40 AM Per Nyfelt wrote:
> > >Looks like you are calling a remote Ozone server. Instances of
> > >ClassTableImpl
> > >resides on the server side so ClassTableImpl needs to be available in
> > > the server classpath. See the mail archive for details.
> > >
> > >Regards,
> > >Per
> > >
> > >Saturday 25 June 2005 08.28 skrev ratnam tatavarty:
> > >> hello,
> > >>
> > >> i have written a small servlet based application to maintain a
> > >> hash-table of data. Its working fine as a console based application,
> > >> but when i have modified it to servlet based on it is showing the
> > >> error : org.ozoneDB.OzoneInternalException:
> > >> java.lang.ClassNotFoundException: ClassTableImpl .
> > >>
> > >> please check out the source code files and kindly help me to sort out
> > >> the problem.
> > >>
> > >> Ratnam Tatavarty
> > >> JNTUCE, Hyderabad.
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> __________________________________________________
> > >> Do You Yahoo!?
> > >> Tired of spam? Yahoo! Mail has the best spam protection around
> > >> http://mail.yahoo.com
> > >
> > >-------------------------------------------------------
> > >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > >from IBM. Find simple to follow Roadmaps, straightforward articles,
> > >informative Webcasts and more! Get everything you need to get up to
> > >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > >_______________________________________________
> > >Ozone-users mailing list
> > >[email protected]
> > >https://lists.sourceforge.net/lists/listinfo/ozone-users
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=Click
> > _______________________________________________
> > Ozone-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ozone-users
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Ozone-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ozone-users
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click