Thanks but I only have one mapscript application........lol.


From: Vitor Buitoni <[EMAIL PROTECTED]>
Reply-To: Vitor Buitoni <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] Easy way to get standalone mapserver already compiled
Date: Tue, 15 Aug 2006 15:26:36 -0300

M.L. Jackson escreveu:

I downloaded MS4W before but I noticed that there was a lot of unneeded programs included as well as an Apache server which was of no use to me. I never explored the cgi-bin directory. After reading your reply and looking in the cgi-bin directory, I found exactly what I needed.

I basically copied all of mapserver's dependent libraries (and I'm sure some other unneeded dll files) from the cgi-bin directory into a system folder. I made sure that Tomcat added this system folder to its library path so that mapscript/mapserver could find the .dll files when needed.

It's not a very good idea to copy the dll files to a system folder, since it might break things... The best thing to do would be to add the folder with the dll files to the PATH environment variable and tomcat library path. (-Djava.library.path)
I then copied the mapscript.jar file found in cgi-bin/mapscript/java into my project's WEB-INF/lib directory. Because Tomcat is sometimes flimsy, it would be a good idea to manually copy the mapscript.jar file to your project's WEB-INF/lib directory within Tomcat and not depend upon deployment necessarily doing the job correctly.

If you put the mapscript.jar into your project's WEB-INF/lib directory, you'll only be able to have one webapp inside tomcat using mapscript. If you want to have more than one webapp using mapscript, you should put mapscript.jar into the tomcat's shared/lib directory.
I recommend you take a look in this documentation:
http://mapserver.gis.umn.edu/docs/howto/java_mapscript_Tomcat_55

Vitor.

Well, not a very detailed write-up but due to time constraints it is the best that I can do. Maybe someone can take this write-up and make it more detailed and formal. If no one can, I can probably write it up at a later date. By the way, I am using MyEclipse for my mapserver project development.

Thanks, Jeff.

From: Jeff McKenna <[EMAIL PROTECTED]>
Reply-To: Jeff McKenna <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] Easy way to get standalone mapserver already compiled
Date: Fri, 11 Aug 2006 18:57:07 -0400

Um, isn't that what MS4W is?

I think the only thing it is missing for you would be a java servlet right? Tomcat or something? You can definitely start with MS4W and add configure that for your servlet...but I am no java guy so I am no precise help.

If you do decide to use MS4W, maybe you could document your work and possibly contribute a java section to the readme for MS4W? (meaning what it took you to use the files in \ms4w\Apache\cgi-bin\mapscript\java\).

jeff



M.L. Jackson wrote:
What I am essentially looking for is a fully compiled distribution of mapserver for Windows. Instead of having to compile the entire mapserver source code, I would like to download a fully compiled package with support for all the programming languages (in particular Java mapscript) and all the essential supporting libraries for full functionality plus wms support without the hassle. Am I asking for too much? :-)


From: "Rahkonen Jukka" <[EMAIL PROTECTED]>
To: "M.L. Jackson" <[EMAIL PROTECTED]>,<[email protected]> Subject: RE: [UMN_MAPSERVER-USERS] Easy way to get standalone mapserver already compiled
Date: Fri, 11 Aug 2006 23:31:54 +0300

Hi,

How about Mapserver included in the FW Tools set, could it be something close to what you are searching for?

-Jukka Rahkonen-


-----Original Message-----
From: UMN MapServer Users List on behalf of M.L. Jackson
Sent: Fri 11.8.2006 22:58
To: [email protected]
Subject: [UMN_MAPSERVER-USERS] Easy way to get standalone mapserver already compiled

Is there an easy way to get mapserver and all its supporting libraries in an already compiled package with nothing else included? I am having a headache
trying to compile the source code.  Thanks.



--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

Reply via email to