Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:335)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:300)
at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:585)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:312)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.process(SecurityContextEstablishment Valve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.invoke(SecurityContextEstablishmentV alve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
a

i am new to webservice implementation they ask to do bottom up approach for web service ,can any one help me where i need to start working ,what are all the necessary requirement i need it ,i doing this in eclipse.

problem in inserting of time stamp to existing database using prepared statement

hi ,i am adding date to already existing database of my project using this code
final GregorianCalendar calender = new GregorianCalendar();
final Long timeInMillis = calender.getTimeInMillis();
final Timestamp timestamp = new Timestamp(calender
.getTimeInMillis());
SimpleDateFormat dateFormatGmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.mm");
dateFormatGmt.setTimeZone(TimeZone.getTimeZone("GM T"));
System.out.println(dateFormatGmt.format(timestamp)/*+"+05:30"*/) ;
but it will give it has 2011-01-12 08:54:55.54 in this format but in database i need to store it in this format 2011-12-29 20:01:35.872+05:30 any one please help me ,
thanks in advance
chethan

Next you should point out the line at which the exception is thrown and not rely on us trying to figure it out.

Finally, you will need to print out the values you are using for that insert statement, as well as what the structure of the table is. This is because one of those values is too long for a character field that has a 20 character limit.

thanks thats been resolved ,the problem is uniqueid length what i given is much suffecient to store the actually value ,i resolved that one ,now the problem is when i run my webservice
it showing the following error
SOAP request exception
java.lang.NullPointerException
at com.infy.flypp.subscription.v2010r1_0.FlyppAppSubs criptionServiceImpl.subscriptionStatusUpdate(Flypp AppSubscriptionServiceImpl.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.wsf.container.jboss50.invocation.Invocat ionHandlerJSE.invoke(InvocationHandlerJSE.java:108 )
at org.jboss.ws.core.server.ServiceEndpointInvoker.in voke(ServiceEndpointInvoker.java:222)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.proces sRequest(RequestHandlerImpl.java:474)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handle Request(RequestHandlerImpl.java:295)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost (RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handle HttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServl et.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.process(SecurityContextEstablishment Valve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.invoke(SecurityContextEstablishmentV alve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
any one please help it ,
thanks in advance
chethan kumar.c

[Fatal Error] :11:139: Element type "media:content" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "media:content" must be followed by either attribute specifications, ">" or "/>".
at com.sun.org.apache.xerces.internal.parsers.DOMPars er.parse(DOMParser.java:249)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBu ilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBu ilder.java:124)
at com.touchfone.test.HttpRequest.bytesToXml(HttpRequ est.java:31)
at com.touchfone.test.HttpRequest.main(HttpRequest.ja va:69)
please help some one
thanks in advance
chethan kumar.c

my jboss_web.xml look like this
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
<jboss-web>
<!-- This file defines the context root of the mingle application
and should include the version number for co-hosting multiple versions of the server -->
<context-root>temp2</context-root>
</jboss-web>