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

messagesky messagesky at 126.com
Fri Apr 4 00:58:30 EDT 2008


Follow what you say. When I run WebServerExtensions\Tomcat\bin\startup.bat. Visit:http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp. It works.

Thank you very much!




messagesky
2008-04-04



·¢¼þÈË£º Ronnie Louie
·¢ËÍʱ¼ä£º 2008-04-03 00:15:02
ÊÕ¼þÈË£º MapGuide Users Mail List
³­ËÍ£º 
Ö÷Ì⣺ RE: Re: [mapguide-users] Can not run Simple Application(Java)

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/20080404/3fc0820f/attachment.html


More information about the mapguide-users mailing list