[mapguide-users] RE: javaviewersample shows jsp source

Dhirendra Kumar dhirendra.mgos at gmail.com
Tue Mar 13 09:29:26 EDT 2007


Hi Kamil,

If you are trying to use PHP Sample then you have no need to use Tomcat ok,
then you have to reinstall MapGuide Extension and choose PHP installation
and Download phpviewersample and try it. Definately you will get positive
result. ok. inform me about satatus.

Dhirendra kumar

Kamil Barbachowski wrote:
> 
> Hi Farah,
> 
>  
> 
> I've done all those steps plus I've started manually Tomcat server-without
> this I've recived error 503 - Service Temporary Not Aviable ( I use
> boundled
> Apache, Tomcat and PHP ) and right now I've got following sorce error:
> 
> 
> 
> An error occurred at line: 22 in the jsp file:
> /javaviewersample/utilityfunctions.jsp
> Generated servlet error:
> Type mismatch: cannot convert from MgLayerBase to MgLayer
> 
>  
> 
>  
> 
> I haven't modified source code of sample java applicatio.
> Somebody have any idea what could be wrong.
> I will try to run MapGuide Studio as sugested Dhirendra Kumar
> 
>  
> 
> 
> Best regards
> Kamil
> 
>  
> 
>   _____  
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Farah
> Sent: Tuesday, March 13, 2007 6:06 AM
> To: 'MapGuide Users Mail List'
> Subject: RE: [mapguide-users] javaviewersample shows jsp source
> 
>  
> 
> Hi Kamil,
> 
>  
> 
> These are the things you need to do:
> 
>  
> 
> 1)       Copy the sheboygan .mgp file to the Packages folder.Load the
> sheboygan data  using the site admin.
> 
> 2)       Copy the javaviewersample code into your www folder.
> 
> 3)       Add the following line to your Apache httpd.conf file:  JkMount
> /mapguide/javaviewersample/* worker1
> 
> 4)       Restart your ApacheMapguide Service
> 
> 5)       Try running your sample again.
> 
>  
> 
>  
> 
> farah
> 
>  
> 
>   _____  
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kamil
> Barbachowski
> Sent: Thursday, March 08, 2007 4:40 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] javaviewersample shows jsp source
> 
>  
> 
> Hi!
>  
> I got a problem getting started with mapguide.
> I've tried to run the sample application for jsp, but 
>  
> <http://localhost:8008/mapguide/javaviewersample/ajaxtiledviewersample.jsp>
> http://localhost:8008/mapguide/javaviewersample/ajaxtiledviewersample.jsp
> gives just jsp source code instead of processing.
>  
> Can somebody help me with that?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> best regards,
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> Kamil
> 
>  
> 
> 
> Disclaimer by Mail Administrator - Yukthi 
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/javaviewersample-shows-jsp-source-tf3369890s16610.html#a9454308
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list