Method postToSystem() is automatically called on deployment in spring -


i have simple spring application, bean contains method name posttosystem(parameters) without annotations , automatically called on deployment (and throws exception). explain me problem here? method name? stacktrace when called is:

daemon thread [http-bio-127.0.0.1-8080-exec-1] (suspended (breakpoint @ line 128 in customerexportserviceimpl))         owns: concurrenthashmap<k,v>  (id=93)        owns: object  (id=94)        owns: standardcontext  (id=95)       owns: managerservlet  (id=96)        owns: socketwrapper<e>  (id=97)      customerexportserviceimpl.<init>() line: 128         nativeconstructoraccessorimpl.newinstance0(constructor, object[]) line: not available [native method] [local variables unavailable]      nativeconstructoraccessorimpl.newinstance(object[]) line: 57         delegatingconstructoraccessorimpl.newinstance(object[]) line: 45         constructor<t>.newinstance(object...) line: 526      beanutils.instantiateclass(constructor<t>, object...) line: 148      cglibsubclassinginstantiationstrategy(simpleinstantiationstrategy).instantiate(rootbeandefinition, string, beanfactory) line: 87         defaultlistablebeanfactory(abstractautowirecapablebeanfactory).instantiatebean(string, rootbeandefinition) line: 1000        defaultlistablebeanfactory(abstractautowirecapablebeanfactory).createbeaninstance(string, rootbeandefinition, object[]) line: 953        defaultlistablebeanfactory(abstractautowirecapablebeanfactory).docreatebean(string, rootbeandefinition, object[]) line: 487      defaultlistablebeanfactory(abstractautowirecapablebeanfactory).createbean(string, rootbeandefinition, object[]) line: 458        abstractbeanfactory$1.getobject() line: 295      defaultlistablebeanfactory(defaultsingletonbeanregistry).getsingleton(string, objectfactory) line: 223       defaultlistablebeanfactory(abstractbeanfactory).dogetbean(string, class<t>, object[], boolean) line: 292         defaultlistablebeanfactory(abstractbeanfactory).getbean(string) line: 194        defaultlistablebeanfactory.preinstantiatesingletons() line: 626      xmlwebapplicationcontext(abstractapplicationcontext).finishbeanfactoryinitialization(configurablelistablebeanfactory) line: 932      xmlwebapplicationcontext(abstractapplicationcontext).refresh() line: 479         contextloaderlistener(contextloader).configureandrefreshwebapplicationcontext(configurablewebapplicationcontext, servletcontext) line: 389       contextloaderlistener(contextloader).initwebapplicationcontext(servletcontext) line: 294         contextloaderlistener.contextinitialized(servletcontextevent) line: 112      standardcontext.listenerstart() line: 4973       standardcontext.startinternal() line: 5467       standardcontext(lifecyclebase).start() line: 150         standardhost(containerbase).addchildinternal(container) line: 901        standardhost(containerbase).addchild(container) line: 877        standardhost.addchild(container) line: 632       hostconfig.deploywar(contextname, file) line: 1083       hostconfig.deployapps(string) line: 553      hostconfig.check(string) line: 1671      nativemethodaccessorimpl.invoke0(method, object, object[]) line: not available [native method]       nativemethodaccessorimpl.invoke(object, object[]) line: 57       delegatingmethodaccessorimpl.invoke(object, object[]) line: 43       method.invoke(object, object...) line: 606       basemodelmbean.invoke(string, object[], string[]) line: 301      defaultmbeanserverinterceptor.invoke(objectname, string, object[], string[]) line: 819       jmxmbeanserver.invoke(objectname, string, object[], string[]) line: 801      managerservlet.check(string) line: 1485      managerservlet.deploy(printwriter, contextname, string, boolean, httpservletrequest, stringmanager) line: 709        managerservlet.doput(httpservletrequest, httpservletresponse) line: 450      managerservlet(httpservlet).service(httpservletrequest, httpservletresponse) line: 649       managerservlet(httpservlet).service(servletrequest, servletresponse) line: 727       applicationfilterchain.internaldofilter(servletrequest, servletresponse) line: 303       applicationfilterchain.dofilter(servletrequest, servletresponse) line: 208       wsfilter.dofilter(servletrequest, servletresponse, filterchain) line: 52         applicationfilterchain.internaldofilter(servletrequest, servletresponse) line: 241       applicationfilterchain.dofilter(servletrequest, servletresponse) line: 208       setcharacterencodingfilter.dofilter(servletrequest, servletresponse, filterchain) line: 108      applicationfilterchain.internaldofilter(servletrequest, servletresponse) line: 241       applicationfilterchain.dofilter(servletrequest, servletresponse) line: 208       standardwrappervalve.invoke(request, response) line: 220         standardcontextvalve.invoke(request, response) line: 122         basicauthenticator(authenticatorbase).invoke(request, response) line: 610        standardhostvalve.invoke(request, response) line: 171        errorreportvalve.invoke(request, response) line: 102         accesslogvalve.invoke(request, response) line: 950       standardenginevalve.invoke(request, response) line: 116      coyoteadapter.service(request, response) line: 408       http11processor(abstracthttp11processor<s>).process(socketwrapper<s>) line: 1040         http11protocol$http11connectionhandler(abstractprotocol$abstractconnectionhandler<s,p>).process(socketwrapper<s>, socketstatus) line: 607        jioendpoint$socketprocessor.run() line: 314      threadpoolexecutor(threadpoolexecutor).runworker(threadpoolexecutor$worker) line: 1145       threadpoolexecutor$worker.run() line: 615        taskthread$wrappingrunnable.run() line: 61       taskthread(thread).run() line: 745   

applicationcontext.xml:

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans"        xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"        xmlns:context="http://www.springframework.org/schema/context"        xmlns:jee="http://www.springframework.org/schema/jee"        xmlns:task="http://www.springframework.org/schema/task"        xsi:schemalocation="         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd         http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd">      <!-- post-processors standard config annotations -->     <context:annotation-config />     <context:component-scan base-package="com.mydomain.service" />          <bean id="jndidatasourcelookup" class="org.springframework.jdbc.datasource.lookup.jndidatasourcelookup"/>        <!-- + other beans defined-->  </beans> 

spring version: 3.2.3


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -