[mapguide-users] Can not run Simple Application(Java)

Ronnie Louie ronnie.louie at autodesk.com
Wed Apr 2 12:14:42 EDT 2008


Have you also restarted Tomcat?  The error you are seeing is typical when Tomcat has not been started.

Visit http://127.0.0.1:8080 and you should see the Tomcat welcome page.  Then try the URL for the sample application, http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp.


Ronnie


From: messagesky [mailto:messagesky at 126.com]
Sent: Tuesday, April 01, 2008 12:33 AM
To: MapGuide Users Mail List
Subject: Re: Re: [mapguide-users] Can not run Simple Application(Java)

Add "JkMount  /mapguide/javaviewersample/* worker1" to the end of "WebServerExtensions\Apache2\conf\httpd.conf"

restart ApacheMapGuide

Visit: http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp

Just like:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

________________________________
Apache/2.2.4 (Win32) PHP/5.2.5 mod_jk/1.2.25 Server at 127.0.0.1 Port 8008


2008-04-01
________________________________
messagesky
________________________________
发件人: Zac Spitzer
发送时间: 2008-04-01  14:21:12
收件人: MapGuide Users Mail List
抄送:
主题: Re: [mapguide-users] Can not run Simple Application(Java)
JkMount  /mapguide2008/javaviewersample/* worker1

looks wrong, the 2008 probably relates to the commercial mapguide, try

JkMount  /mapguide/javaviewersample/* worker1

z

On Tue, Apr 1, 2008 at 5:16 PM, messagesky  <messagesky at 126.com > wrote:
>
>
> My Computer: Windows XP, Java:1.5
>
> (1) install MgServerSetup-2.0.0.exe
> (2) install MgWebServerExtensionsSetup-2.0.0.exe
>      Select "Bundled Configuration" --- > Java
> (3) Download Sheboygan.mgp from
> http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And
> put it to "MapGuideOpenSource\Server\Packages"
>
> (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by
> Administrator, admin
>      load package:Sheboygan.mgp succeeded.
>
> (5) Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
>     Just like this:
>
>            <%@ page import="org.osgeo.mapguide.*" % >
>            <%@ page import="java.util.*" % >
>            <%@ page import="java.io.*" % >
>            <%@ page import="java.text.*" % >
>            <%@ page import="javax.servlet.jsp.*" % >
>            <%@ page import="javax.servlet.http.*" % >
>            <%@ include file ="utilityfunctions.jsp" % >
>
>            <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd" >
>
> (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add
> "JkMount  /mapguide2008/javaviewersample/* worker1" at the end of file.
>      restart apache. Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
>   Just like this:
>            <%--
>             -Copyright (C) 2004-2006  Autodesk, Inc.
>             -This library is free software; you can redistribute it and/or
>             -modify it under the terms of version 2.1 of the GNU Lesser
>             -General Public License as published by the Free Software
> Foundation.
>
>             -This library is distributed in the hope that it will be useful,
>             -but WITHOUT ANY WARRANTY; without even the implied warranty of
>             -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU
>             -Lesser General Public License for more details.
>
>             -You should have received a copy of the GNU Lesser General
> Public
>             -License along with this library; if not, write to the Free
> Software
>             -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> 02110-1301  USA
>           --% >
>
>            <%@ page import="org.osgeo.mapguide.*" % >
>            <%@ page import="java.util.*" % >
>            <%@ page import="java.io.*" % >
>            <%@ page import="java.text.*" % >
>            <%@ page import="javax.servlet.jsp.*" % >
>            <%@ page import="javax.servlet.http.*" % >
>            <%@ include file ="utilityfunctions.jsp" % >
>
>
>
> My Englis is very poor. Would you like give me some help?
> Thanks a lot.
>
>
>
>
> 2008-04-01 ________________________________
>
> messagesky
> _______________________________________________
>  mapguide-users mailing list
>  mapguide-users at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080402/7aad9365/attachment.html


More information about the mapguide-users mailing list