0 Replies Latest reply: Feb 13, 2013 2:39 AM by 990766 RSS

    facing problem while implementing dwr in web application

      Hi Guys,
      I am new to DWR.
      I am first time implementing ajax through dwr in a simple web application...
      Application includes one jsp containing a button, one bean containing a method returning a string. on click of button i have given call to bean method in dwr's fashion.
      I refered http://directwebremoting.org/dwr/index.html for designing my application.
      I am using apache tomcat v6.0, jre632.

      Issues are:
      1)When i start apache, it shows in console as below:

      org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\java\jre632\bin;.;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/java/jre632/bin/client;C:/java/jre632/bin;C:/java/jre632/lib/i386;C:\Program Files (x86)\PC Connectivity Solution\;C:\app\IBM_ADMIN\product\11.1.0\db_1\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Broadcom\WHL\;C:\Program Files\Broadcom\WHL\syswow64;C:\Program Files\Broadcom\WHL\SysWow64\;C:\Program Files\Broadcom\WHL\SysWow64\syswow64;C:\Program Files (x86)\IBM\Personal Communications\;C:\Program Files (x86)\IBM\Trace Facility\;C:\Program Files (x86)\IBM\Mobility Client\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\13.0\DLLShared\;C:\Program Files (x86)\Lenovo\Access Connections\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Python27;C:\PROGRA~2\IBM\SQLLIB\BIN;C:\PROGRA~2\IBM\SQLLIB\FUNCTION;C:\PROGRA~2\IBM\SQLLIB\SAMPLES\REPL;C:\java\jdk632\bin;;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Anuja\Softwares\eclipse-jee-indigo-win32\eclipse;
      Feb 13, 2013 1:28:33 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
      WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:DWRDemo' did not find a matching property.
      Feb 13, 2013 1:28:33 PM org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      Feb 13, 2013 1:28:33 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 381 ms
      Feb 13, 2013 1:28:33 PM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      Feb 13, 2013 1:28:33 PM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
      Feb 13, 2013 1:28:34 PM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      Feb 13, 2013 1:28:34 PM org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /
      Feb 13, 2013 1:28:34 PM org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/12 config=null
      Feb 13, 2013 1:28:34 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 223 ms

      2) when i run my application, its launched successfully.when i click on button then a alert(i put it before call to bean method) is shown but bean method is not getting call.

      What should I do?
      Please help me for the same.
      Thanks in advance.