hi Andres,
I m encountering the following errors while running the application.
Plz check them
The site for access:http://www.ndbc.noaa.gov/data/5day2/42040_5day.txt
[WARN] Server class 'com.google.gwt.json.client.JSONException' could not be
found in the web app, but was found on the system classpath
[WARN] Adding classpath entry
'file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/gwt-user.jar'
to the web app classpath for this session
For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
[WARN] Server class
'com.google.gwt.visualization.client.AbstractDataTable$ColumnType' could not
be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry
'file:/D:/My%20Work/Visualization%20files/gwt-visualization-1.1.0/gwt-visualization.jar'
to the web app classpath for this session
For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
[WARN] Server class
'com.google.gwt.widgetideas.table.client.RowPagingListenerCollection' could
not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry
'file:/D:/cosemware/BuoyApplication/lib/gwt-incubator-10-25-07.jar' to the
web app classpath for this session
For additional info see:
file:/C:/Users/rakesh/Desktop/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036/gwt-2.0.3/doc/helpInfo/webAppClassPath.html
INSIDE GET MEASUREMENTS1
Number of lines read:0
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
at java.util.Vector.get(Unknown Source)
at
edu.msstate.gri.server.BuoyDataServiceImpl.getMeasurements1(BuoyDataServiceImpl.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
INSERT INTO feature_of_interest VALUES ('id_42040','Station
42040','Freeport, TX 60 NM South of Freeport,
TX',GeometryFromText('POINT(29.18 88.21)',4236),'http://www.ndbc.noaa.gov');
INSERT INTO procedure VALUES ('urn:ogc:def:procedure:DACT-42040','DACT buoy
station','Buoy for DACT PAYLOAD)');
INSERT INTO proc_phen VALUES
('urn:ogc:def:procedure:DACT-42040','urn:ogc:def:phenomenon:windDirection');
INSERT INTO proc_foi VALUES ('urn:ogc:def:procedure:DACT-42040','id_42040');
org.postgresql.util.PSQLException: ERROR: duplicate key violates unique
constraint "procedure_pkey"
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:337)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:329)
at
edu.msstate.gri.server.BuoyDataServiceImpl.populateDatabase(BuoyDataServiceImpl.java:365)
at
edu.msstate.gri.server.BuoyDataServiceImpl.getMeasurements1(BuoyDataServiceImpl.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
valid:0
q's value is:0
q1 value is:0
Plz try to give me a solution.
Regards,
Rakesh.
2010/6/18 Andrés Cerezo <[email protected]>
> The file is ok try to find in another site, servlets ,etc search in in
> google "Parse error in application web.xml" the is a lof of messages.
>
>
> 2010/6/18 gourineni rakesh <[email protected]>
>
>> Hi Andres,
>> these is the attached web.xml....
>>
>>
>> 2010/6/18 Andrés Cerezo <[email protected]>
>>
>> Try to attach the file, please.
>>>
>>> 2010/6/18 gourineni rakesh <[email protected]>
>>>
>>> Hi Andres,
>>>> the below is my web.xml file. Plz check this and let me know
>>>> if there r any errors in that.
>>>>
>>>>
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <!DOCTYPE web-app
>>>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>>>> "http://java.sun.com/dtd/web-app_2_3.dtd">
>>>>
>>>> <web-app>
>>>>
>>>>
>>>> <servlet>
>>>> <servlet-name>BuoyDataService</servlet-name>
>>>>
>>>> <servlet-class>edu.msstate.gri.server.BuoyDataServiceImpl</servlet-class>
>>>> </servlet>
>>>>
>>>>
>>>>
>>>> <servlet-mapping>
>>>> <servlet-name>BuoyDataService</servlet-name>
>>>> <url-pattern>/buoyapplication/buoyDataService</url-pattern>
>>>> </servlet-mapping>
>>>>
>>>>
>>>> <!-- Default page to serve -->
>>>>
>>>> <welcome-file-list>
>>>>
>>>> <welcome-file>BuoyApplication.html</welcome-file>
>>>>
>>>> </welcome-file-list>
>>>>
>>>> </web-app>
>>>>
>>>>
>>>> Regards,
>>>> Rakesh.
>>>>
>>>>
>>>> 2010/6/17 Andrés Cerezo <[email protected]>
>>>>
>>>>> Yes send me it by email.
>>>>>
>>>>> 2010/6/17 gourineni rakesh <[email protected]>
>>>>>
>>>>> Thanks Cerezo for the reply....
>>>>>> I had opened web.xml file from xml editor but I
>>>>>> couldnt find any error. Can you check whether my web.xml format is
>>>>>> correct?????
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Rakesh
>>>>>>
>>>>>> 2010/6/17 Andrés Cerezo <[email protected]>
>>>>>>
>>>>>> Try to open it with the xml editor of eclipse (design view) perhaps It
>>>>>>> has an erroneus character (space, etc) and you can`t see it.
>>>>>>>
>>>>>>> 2010/6/16 gourineni rakesh <[email protected]>
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I m Rakesh. I m developing a GWT based eclipse project.The
>>>>>>>> project is about sensor web application for Buoys n i used google maps
>>>>>>>> to
>>>>>>>> display the Buoy locations.For this the GWT i m using is 2.0.3,
>>>>>>>> eclipse is
>>>>>>>> 3.4 Ganemade n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web
>>>>>>>> project from gwt 1.4.62 to 2.0.3. I m able to get the application in
>>>>>>>> the web
>>>>>>>> browser but i m unable to update the database into PostgreSql {version
>>>>>>>> is
>>>>>>>> 8.2.}
>>>>>>>>
>>>>>>>> My *Web.xml* is shown below
>>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <!DOCTYPE web-app
>>>>>>>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>>>>>>>> "http://java.sun.com/dtd/web-app_2_3.dtd">
>>>>>>>>
>>>>>>>> <web-app>
>>>>>>>>
>>>>>>>>
>>>>>>>> <servlet>
>>>>>>>> <servlet-name>BuoyDataService</servlet-name>
>>>>>>>>
>>>>>>>>
>>>>>>>> <servlet-class>edu.msstate.gri.server.BuoyDataServiceImpl</servlet-class>
>>>>>>>> </servlet>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <servlet-mapping>
>>>>>>>> <servlet-name>BuoyDataService</servlet-name>
>>>>>>>> <url-pattern>/buoyapplication/buoyDataService</url-pattern>
>>>>>>>> </servlet-mapping>
>>>>>>>>
>>>>>>>>
>>>>>>>> <!-- Default page to serve -->
>>>>>>>>
>>>>>>>> <welcome-file-list>
>>>>>>>>
>>>>>>>> <welcome-file>BuoyApplication.html</welcome-file>
>>>>>>>>
>>>>>>>> </welcome-file-list>
>>>>>>>>
>>>>>>>> </web-app>
>>>>>>>>
>>>>>>>>
>>>>>>>> And my *gwt.xml* file is given below
>>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <module rename-to='buoyapplication'>
>>>>>>>> <!-- Inherit the core Web Toolkit stuff.
>>>>>>>> -->
>>>>>>>> <inherits name='com.google.gwt.user.User'/>
>>>>>>>>
>>>>>>>> <!-- Inherit the default GWT style sheet. You can change
>>>>>>>> -->
>>>>>>>> <!-- the theme of your GWT application by uncommenting
>>>>>>>> -->
>>>>>>>> <!-- any one of the following lines.
>>>>>>>> -->
>>>>>>>> <inherits name='com.google.gwt.user.theme.standard.Standard'/>
>>>>>>>> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/>
>>>>>>>> -->
>>>>>>>> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>
>>>>>>>> -->
>>>>>>>> <inherits name='com.google.gwt.http.HTTP'/>
>>>>>>>> <inherits name='com.google.gwt.xml.XML'/>
>>>>>>>> <inherits name='com.google.gwt.json.JSON'/>
>>>>>>>> <inherits name='com.google.gwt.widgetideas.WidgetIdeas'/>
>>>>>>>> <inherits name='com.mapitz.gwt.googleMaps.GoogleMaps'/>
>>>>>>>> <inherits name='com.google.gwt.visualization.Visualization'/>
>>>>>>>>
>>>>>>>> <!-- Other module inherits
>>>>>>>> -->
>>>>>>>>
>>>>>>>> <!-- Specify the app entry point class.
>>>>>>>> -->
>>>>>>>> <entry-point class='edu.msstate.gri.client.BuoyApplication'/>
>>>>>>>>
>>>>>>>> <!-- Specify the paths for translatable code
>>>>>>>> -->
>>>>>>>> <source path='client'/>
>>>>>>>>
>>>>>>>>
>>>>>>>> </module>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> When I start my Tomcat I m getting the
>>>>>>>>
>>>>>>>> "End event threw exception" in startup window and following this
>>>>>>>> another error " Parse error in application web.xml"
>>>>>>>>
>>>>>>>> Is there any error in my* web.xml file*.........Plz help me
>>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>> Rakesh.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Google Web Toolkit" group.
>>>>>>>> To post to this group, send email to
>>>>>>>> [email protected].
>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>> [email protected]<google-web-toolkit%[email protected]>
>>>>>>>> .
>>>>>>>> For more options, visit this group at
>>>>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Google Web Toolkit" group.
>>>>>>> To post to this group, send email to
>>>>>>> [email protected].
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected]<google-web-toolkit%[email protected]>
>>>>>>> .
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Google Web Toolkit" group.
>>>>>> To post to this group, send email to
>>>>>> [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<google-web-toolkit%[email protected]>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Web Toolkit" group.
>>>>> To post to this group, send email to
>>>>> [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<google-web-toolkit%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<google-web-toolkit%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to [email protected]
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-web-toolkit%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.