how to use java mapscript in tomcat4/jspenvironment?

wlx wlx at MYGIS.ORG
Thu Mar 17 17:46:20 PST 2005


Thank you.
It is not need for mapserver-4.4.1 java mapscript to do the
System.loadLibrary as I has test this.

>
> There is no need to call System.loadLibrary as mapscript.jar
> should do it for you in the initialization code (this one I
> am not sure, for sure there is a patch for it in CVS).
>
> Liangxu, please copy the mapscript.jar only in common/lib:
> this is not windows!
>
> Regards,
> Umberto
>
> On Wed, 2005-03-16 at 09:12 -0700, Ethan Alpert wrote:
> > Look in your code for System.loadLibrary("mapscript")
> >
> > Clearly that's being called somewhere more than once.
> >
> > -e
> >
> > -----Original Message-----
> > From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]
> > On Behalf Of wlx
> > Sent: Wednesday, March 16, 2005 7:03 AM
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: Re: [UMN_MAPSERVER-USERS] how to use java mapscript in
> > tomcat4/jspenvironment?
> >
> >
> > Hi Umberto,
> >     I remove tomcat4.1, and install tomcat 5.5, and recomiled the
> > mapserver with java mapscript, and copy the so file to
> /usr/lib/ and
> > /usr/lib/jni/, copy the jar file to
> /usr/local/tomcat/common/lib/ and
> > /usr/local/tomcat/shared/lib/, but there are something
> wrong too. You
> > can see the error message here: http://210.77.68.214:8080/test.jsp.
> >
> >    Best regard,
> >    Yours sincerely,
> > Liangxu Wang
> --
> Umberto Nicoletti                          |   We are Pentium of Borg.
> +390415701366   unicoletti at prometeo.it     |   Division is futile.
> Prometeo S.R.L. The Software Experience    |   You will be
> approximated.
>
>



More information about the MapServer-users mailing list