"Class not found" error

View: New views
9 Messages — Rating Filter:   Alert me  

"Class not found" error

by Bill Wied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am seeing a strange problem with DWR 3.0 RC2. I created a set of servlets which perform unit tests on my system. The URL is http://localhost/servlet/test/test1. It appears that DWR is intercepting the calls and generating the following errors:

[java] 2009-10-07 13:37:58,952 ERROR: org.directwebremoting.impl.DefaultCreatorManager - Class not found: 'test1'
[java] 2009-10-07 13:37:58,952 WARN : org.directwebremoting.impl.DefaultCreatorManager - Names of known classes are: __System CalendarController AccountController __Data SignupController
[java] 2009-10-07 13:37:58,999 WARN : org.directwebremoting.servlet.ExceptionHandler - Error: java.lang.SecurityException: Class not found

When I move it to http://localhost/servlet/t/test1 there is no problem.

Any idea?

Thanks in advance,
Bill

Re: "Class not found" error

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do you have the DWR servlet mapped?

On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@...> wrote:

I am seeing a strange problem with DWR 3.0 RC2. I created a set of servlets
which perform unit tests on my system. The URL is
http://localhost/servlet/test/test1. It appears that DWR is intercepting the
calls and generating the following errors:

[java] 2009-10-07 13:37:58,952 ERROR:
org.directwebremoting.impl.DefaultCreatorManager - Class not found: 'test1'
[java] 2009-10-07 13:37:58,952 WARN :
org.directwebremoting.impl.DefaultCreatorManager - Names of known classes
are: __System CalendarController AccountController __Data SignupController
[java] 2009-10-07 13:37:58,999 WARN :
org.directwebremoting.servlet.ExceptionHandler - Error:
java.lang.SecurityException: Class not found

When I move it to http://localhost/servlet/t/test1 there is no problem.

Any idea?

Thanks in advance,
Bill
--
View this message in context: http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: "Class not found" error

by XMaNIaC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you using Spring? I recall something related to that...

Regards

On Wed, Oct 7, 2009 at 8:47 PM, Bill Wied <wied@...> wrote:

I am seeing a strange problem with DWR 3.0 RC2. I created a set of servlets
which perform unit tests on my system. The URL is
http://localhost/servlet/test/test1. It appears that DWR is intercepting the
calls and generating the following errors:

[java] 2009-10-07 13:37:58,952 ERROR:
org.directwebremoting.impl.DefaultCreatorManager - Class not found: 'test1'
[java] 2009-10-07 13:37:58,952 WARN :
org.directwebremoting.impl.DefaultCreatorManager - Names of known classes
are: __System CalendarController AccountController __Data SignupController
[java] 2009-10-07 13:37:58,999 WARN :
org.directwebremoting.servlet.ExceptionHandler - Error:
java.lang.SecurityException: Class not found

When I move it to http://localhost/servlet/t/test1 there is no problem.

Any idea?

Thanks in advance,
Bill
--
View this message in context: http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: "Class not found" error

by Bill Wied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is my configuration.

web.xml:
        <servlet>
          <description>DWR controller servlet</description>
          <servlet-name>DWR</servlet-name>
          <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
          <init-param>
            <param-name>classes</param-name>
            <param-value>
              com.sagepoint.controller.SignupController,
              com.sagepoint.form.SignupForm,
              com.sagepoint.form.SignupItemForm,
              com.sagepoint.bean.SignupServiceBean,
              com.sagepoint.bean.SignupItemServiceBean,
              com.sagepoint.bean.SignupItemUserServiceBean,
              com.sagepoint.bean.SignupUserServiceBean,
              com.sagepoint.controller.CalendarController,
              com.sagepoint.form.CalendarForm,
              com.sagepoint.controller.AccountController
            </param-value>
          </init-param>
        </servlet>

dwr-config.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:dwr="http://www.directwebremoting.org/schema/spring-dwr"
       xsi:schemaLocation="
           http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
           http://www.directwebremoting.org/schema/spring-dwr
           http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">
       
        <dwr:configuration>
                <dwr:convert type="bean" class="com.sagepoint.bean.SignupServiceBean" />  
                <dwr:convert type="bean" class="com.sagepoint.bean.SignupItemServiceBean" />  
                <dwr:convert type="bean" class="com.sagepoint.bean.SignupItemUserServiceBean" />  
                <dwr:convert type="bean" class="com.sagepoint.bean.SignupUserServiceBean" />  
                <dwr:convert type="bean" class="com.sagepoint.form.SignupForm" />  
                <dwr:convert type="bean" class="com.sagepoint.form.SignupItemForm" />  
                <dwr:convert type="bean" class="com.sagepoint.form.CalendarForm" />  
        </dwr:configuration>  
        <dwr:annotation-config />
        <dwr:url-mapping />
        <dwr:controller id="dwrController" debug="true" />
</beans>


davidmarginian wrote:
How do you have the DWR servlet mapped?

On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@yahoo.com> wrote:

>
> I am seeing a strange problem with DWR 3.0 RC2. I created a set of servlets
> which perform unit tests on my system. The URL is
> http://localhost/servlet/test/test1. It appears that DWR is intercepting
> the
> calls and generating the following errors:
>
> [java] 2009-10-07 13:37:58,952 ERROR:
> org.directwebremoting.impl.DefaultCreatorManager - Class not found: 'test1'
> [java] 2009-10-07 13:37:58,952 WARN :
> org.directwebremoting.impl.DefaultCreatorManager - Names of known classes
> are: __System CalendarController AccountController __Data SignupController
> [java] 2009-10-07 13:37:58,999 WARN :
> org.directwebremoting.servlet.ExceptionHandler - Error:
> java.lang.SecurityException: Class not found
>
> When I move it to http://localhost/servlet/t/test1 there is no problem.
>
> Any idea?
>
> Thanks in advance,
> Bill
> --
> View this message in context:
> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
> Sent from the DWR - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: users-help@dwr.dev.java.net
>
>

Re: "Class not found" error

by XMaNIaC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Probably we should fix it but right now DWR is quite greedy about /test. Either don't put anything there or use another entry point and not DWR's servlet.

Regards

On Thu, Oct 8, 2009 at 7:47 AM, Bill Wied <wied@...> wrote:

Here is my configuration.

web.xml:
       <servlet>
         <description>DWR controller servlet</description>
         <servlet-name>DWR</servlet-name>
         <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
         <init-param>
           <param-name>classes</param-name>
           <param-value>
             com.sagepoint.controller.SignupController,
             com.sagepoint.form.SignupForm,
             com.sagepoint.form.SignupItemForm,
             com.sagepoint.bean.SignupServiceBean,
             com.sagepoint.bean.SignupItemServiceBean,
             com.sagepoint.bean.SignupItemUserServiceBean,
             com.sagepoint.bean.SignupUserServiceBean,
             com.sagepoint.controller.CalendarController,
             com.sagepoint.form.CalendarForm,
             com.sagepoint.controller.AccountController
           </param-value>
         </init-param>
       </servlet>

dwr-config.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:dwr="http://www.directwebremoting.org/schema/spring-dwr"
      xsi:schemaLocation="
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
          http://www.directwebremoting.org/schema/spring-dwr
          http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">

       <dwr:configuration>
               <dwr:convert type="bean" class="com.sagepoint.bean.SignupServiceBean" />
               <dwr:convert type="bean" class="com.sagepoint.bean.SignupItemServiceBean"
/>
               <dwr:convert type="bean"
class="com.sagepoint.bean.SignupItemUserServiceBean" />
               <dwr:convert type="bean" class="com.sagepoint.bean.SignupUserServiceBean"
/>
               <dwr:convert type="bean" class="com.sagepoint.form.SignupForm" />
               <dwr:convert type="bean" class="com.sagepoint.form.SignupItemForm" />
               <dwr:convert type="bean" class="com.sagepoint.form.CalendarForm" />
       </dwr:configuration>
       <dwr:annotation-config />
       <dwr:url-mapping />
       <dwr:controller id="dwrController" debug="true" />
</beans>



davidmarginian wrote:
>
> How do you have the DWR servlet mapped?
>
> On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@...> wrote:
>
>>
>> I am seeing a strange problem with DWR 3.0 RC2. I created a set of
>> servlets
>> which perform unit tests on my system. The URL is
>> http://localhost/servlet/test/test1. It appears that DWR is intercepting
>> the
>> calls and generating the following errors:
>>
>> [java] 2009-10-07 13:37:58,952 ERROR:
>> org.directwebremoting.impl.DefaultCreatorManager - Class not found:
>> 'test1'
>> [java] 2009-10-07 13:37:58,952 WARN :
>> org.directwebremoting.impl.DefaultCreatorManager - Names of known classes
>> are: __System CalendarController AccountController __Data
>> SignupController
>> [java] 2009-10-07 13:37:58,999 WARN :
>> org.directwebremoting.servlet.ExceptionHandler - Error:
>> java.lang.SecurityException: Class not found
>>
>> When I move it to http://localhost/servlet/t/test1 there is no problem.
>>
>> Any idea?
>>
>> Thanks in advance,
>> Bill
>> --
>> View this message in context:
>> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
>> Sent from the DWR - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798711.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: "Class not found" error

by Bill Wied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I'm using Spring.

XMaNIaC wrote:
Are you using Spring? I recall something related to that...
Regards

On Wed, Oct 7, 2009 at 8:47 PM, Bill Wied <wied@yahoo.com> wrote:

>
> I am seeing a strange problem with DWR 3.0 RC2. I created a set of servlets
> which perform unit tests on my system. The URL is
> http://localhost/servlet/test/test1. It appears that DWR is intercepting
> the
> calls and generating the following errors:
>
> [java] 2009-10-07 13:37:58,952 ERROR:
> org.directwebremoting.impl.DefaultCreatorManager - Class not found: 'test1'
> [java] 2009-10-07 13:37:58,952 WARN :
> org.directwebremoting.impl.DefaultCreatorManager - Names of known classes
> are: __System CalendarController AccountController __Data SignupController
> [java] 2009-10-07 13:37:58,999 WARN :
> org.directwebremoting.servlet.ExceptionHandler - Error:
> java.lang.SecurityException: Class not found
>
> When I move it to http://localhost/servlet/t/test1 there is no problem.
>
> Any idea?
>
> Thanks in advance,
> Bill
> --
> View this message in context:
> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
> Sent from the DWR - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: users-help@dwr.dev.java.net
>
>

Re: "Class not found" error

by Bill Wied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The way I have DWR mapped it should only intercept if the servlet is /servlet/DWR not /servlet/test

XMaNIaC wrote:
Probably we should fix it but right now DWR is quite greedy about /test.
Either don't put anything there or use another entry point and not DWR's
servlet.

Regards

On Thu, Oct 8, 2009 at 7:47 AM, Bill Wied <wied@yahoo.com> wrote:

>
> Here is my configuration.
>
> web.xml:
>        <servlet>
>          <description>DWR controller servlet</description>
>          <servlet-name>DWR</servlet-name>
>
>  <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
>          <init-param>
>            <param-name>classes</param-name>
>            <param-value>
>              com.sagepoint.controller.SignupController,
>              com.sagepoint.form.SignupForm,
>              com.sagepoint.form.SignupItemForm,
>              com.sagepoint.bean.SignupServiceBean,
>              com.sagepoint.bean.SignupItemServiceBean,
>              com.sagepoint.bean.SignupItemUserServiceBean,
>              com.sagepoint.bean.SignupUserServiceBean,
>              com.sagepoint.controller.CalendarController,
>              com.sagepoint.form.CalendarForm,
>              com.sagepoint.controller.AccountController
>            </param-value>
>          </init-param>
>        </servlet>
>
> dwr-config.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:dwr="http://www.directwebremoting.org/schema/spring-dwr"
>       xsi:schemaLocation="
>           http://www.springframework.org/schema/beans
>           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>           http://www.directwebremoting.org/schema/spring-dwr
>           http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">
>
>        <dwr:configuration>
>                <dwr:convert type="bean"
> class="com.sagepoint.bean.SignupServiceBean" />
>                <dwr:convert type="bean"
> class="com.sagepoint.bean.SignupItemServiceBean"
> />
>                <dwr:convert type="bean"
> class="com.sagepoint.bean.SignupItemUserServiceBean" />
>                <dwr:convert type="bean"
> class="com.sagepoint.bean.SignupUserServiceBean"
> />
>                <dwr:convert type="bean"
> class="com.sagepoint.form.SignupForm" />
>                <dwr:convert type="bean"
> class="com.sagepoint.form.SignupItemForm" />
>                <dwr:convert type="bean"
> class="com.sagepoint.form.CalendarForm" />
>        </dwr:configuration>
>        <dwr:annotation-config />
>        <dwr:url-mapping />
>        <dwr:controller id="dwrController" debug="true" />
> </beans>
>
>
>
> davidmarginian wrote:
> >
> > How do you have the DWR servlet mapped?
> >
> > On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@yahoo.com> wrote:
> >
> >>
> >> I am seeing a strange problem with DWR 3.0 RC2. I created a set of
> >> servlets
> >> which perform unit tests on my system. The URL is
> >> http://localhost/servlet/test/test1. It appears that DWR is
> intercepting
> >> the
> >> calls and generating the following errors:
> >>
> >> [java] 2009-10-07 13:37:58,952 ERROR:
> >> org.directwebremoting.impl.DefaultCreatorManager - Class not found:
> >> 'test1'
> >> [java] 2009-10-07 13:37:58,952 WARN :
> >> org.directwebremoting.impl.DefaultCreatorManager - Names of known
> classes
> >> are: __System CalendarController AccountController __Data
> >> SignupController
> >> [java] 2009-10-07 13:37:58,999 WARN :
> >> org.directwebremoting.servlet.ExceptionHandler - Error:
> >> java.lang.SecurityException: Class not found
> >>
> >> When I move it to http://localhost/servlet/t/test1 there is no problem.
> >>
> >> Any idea?
> >>
> >> Thanks in advance,
> >> Bill
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
> >> Sent from the DWR - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> >> For additional commands, e-mail: users-help@dwr.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798711.html
> Sent from the DWR - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: users-help@dwr.dev.java.net
>
>

Re: "Class not found" error

by XMaNIaC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How are your servlet-mappings declared?

Regards

On Thu, Oct 8, 2009 at 8:07 AM, Bill Wied <wied@...> wrote:

The way I have DWR mapped it should only intercept if the servlet is
/servlet/DWR not /servlet/test


XMaNIaC wrote:
>
> Probably we should fix it but right now DWR is quite greedy about /test.
> Either don't put anything there or use another entry point and not DWR's
> servlet.
>
> Regards
>
> On Thu, Oct 8, 2009 at 7:47 AM, Bill Wied <wied@...> wrote:
>
>>
>> Here is my configuration.
>>
>> web.xml:
>>        <servlet>
>>          <description>DWR controller servlet</description>
>>          <servlet-name>DWR</servlet-name>
>>
>>  <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
>>          <init-param>
>>            <param-name>classes</param-name>
>>            <param-value>
>>              com.sagepoint.controller.SignupController,
>>              com.sagepoint.form.SignupForm,
>>              com.sagepoint.form.SignupItemForm,
>>              com.sagepoint.bean.SignupServiceBean,
>>              com.sagepoint.bean.SignupItemServiceBean,
>>              com.sagepoint.bean.SignupItemUserServiceBean,
>>              com.sagepoint.bean.SignupUserServiceBean,
>>              com.sagepoint.controller.CalendarController,
>>              com.sagepoint.form.CalendarForm,
>>              com.sagepoint.controller.AccountController
>>            </param-value>
>>          </init-param>
>>        </servlet>
>>
>> dwr-config.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:dwr="http://www.directwebremoting.org/schema/spring-dwr"
>>       xsi:schemaLocation="
>>           http://www.springframework.org/schema/beans
>>
>> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>>           http://www.directwebremoting.org/schema/spring-dwr
>>           http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">
>>
>>        <dwr:configuration>
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupServiceBean" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupItemServiceBean"
>> />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupItemUserServiceBean" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupUserServiceBean"
>> />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.SignupForm" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.SignupItemForm" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.CalendarForm" />
>>        </dwr:configuration>
>>        <dwr:annotation-config />
>>        <dwr:url-mapping />
>>        <dwr:controller id="dwrController" debug="true" />
>> </beans>
>>
>>
>>
>> davidmarginian wrote:
>> >
>> > How do you have the DWR servlet mapped?
>> >
>> > On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@...> wrote:
>> >
>> >>
>> >> I am seeing a strange problem with DWR 3.0 RC2. I created a set of
>> >> servlets
>> >> which perform unit tests on my system. The URL is
>> >> http://localhost/servlet/test/test1. It appears that DWR is
>> intercepting
>> >> the
>> >> calls and generating the following errors:
>> >>
>> >> [java] 2009-10-07 13:37:58,952 ERROR:
>> >> org.directwebremoting.impl.DefaultCreatorManager - Class not found:
>> >> 'test1'
>> >> [java] 2009-10-07 13:37:58,952 WARN :
>> >> org.directwebremoting.impl.DefaultCreatorManager - Names of known
>> classes
>> >> are: __System CalendarController AccountController __Data
>> >> SignupController
>> >> [java] 2009-10-07 13:37:58,999 WARN :
>> >> org.directwebremoting.servlet.ExceptionHandler - Error:
>> >> java.lang.SecurityException: Class not found
>> >>
>> >> When I move it to http://localhost/servlet/t/test1 there is no
>> problem.
>> >>
>> >> Any idea?
>> >>
>> >> Thanks in advance,
>> >> Bill
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
>> >> Sent from the DWR - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@...
>> >> For additional commands, e-mail: users-help@...
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798711.html
>> Sent from the DWR - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798865.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: "Class not found" error

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, I don't really see how this can happen unless you have your test servlets mapped to the same URL as DWR.  DWR is a servlet and can only handle requests that are mapped to it.  

On Thu, Oct 8, 2009 at 4:14 AM, Jose Noheda <jose.noheda@...> wrote:
How are your servlet-mappings declared?

Regards


On Thu, Oct 8, 2009 at 8:07 AM, Bill Wied <wied@...> wrote:

The way I have DWR mapped it should only intercept if the servlet is
/servlet/DWR not /servlet/test


XMaNIaC wrote:
>
> Probably we should fix it but right now DWR is quite greedy about /test.
> Either don't put anything there or use another entry point and not DWR's
> servlet.
>
> Regards
>
> On Thu, Oct 8, 2009 at 7:47 AM, Bill Wied <wied@...> wrote:
>
>>
>> Here is my configuration.
>>
>> web.xml:
>>        <servlet>
>>          <description>DWR controller servlet</description>
>>          <servlet-name>DWR</servlet-name>
>>
>>  <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
>>          <init-param>
>>            <param-name>classes</param-name>
>>            <param-value>
>>              com.sagepoint.controller.SignupController,
>>              com.sagepoint.form.SignupForm,
>>              com.sagepoint.form.SignupItemForm,
>>              com.sagepoint.bean.SignupServiceBean,
>>              com.sagepoint.bean.SignupItemServiceBean,
>>              com.sagepoint.bean.SignupItemUserServiceBean,
>>              com.sagepoint.bean.SignupUserServiceBean,
>>              com.sagepoint.controller.CalendarController,
>>              com.sagepoint.form.CalendarForm,
>>              com.sagepoint.controller.AccountController
>>            </param-value>
>>          </init-param>
>>        </servlet>
>>
>> dwr-config.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:dwr="http://www.directwebremoting.org/schema/spring-dwr"
>>       xsi:schemaLocation="
>>           http://www.springframework.org/schema/beans
>>
>> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>>           http://www.directwebremoting.org/schema/spring-dwr
>>           http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">
>>
>>        <dwr:configuration>
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupServiceBean" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupItemServiceBean"
>> />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupItemUserServiceBean" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.bean.SignupUserServiceBean"
>> />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.SignupForm" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.SignupItemForm" />
>>                <dwr:convert type="bean"
>> class="com.sagepoint.form.CalendarForm" />
>>        </dwr:configuration>
>>        <dwr:annotation-config />
>>        <dwr:url-mapping />
>>        <dwr:controller id="dwrController" debug="true" />
>> </beans>
>>
>>
>>
>> davidmarginian wrote:
>> >
>> > How do you have the DWR servlet mapped?
>> >
>> > On Wed, Oct 7, 2009 at 12:47 PM, Bill Wied <wied@...> wrote:
>> >
>> >>
>> >> I am seeing a strange problem with DWR 3.0 RC2. I created a set of
>> >> servlets
>> >> which perform unit tests on my system. The URL is
>> >> http://localhost/servlet/test/test1. It appears that DWR is
>> intercepting
>> >> the
>> >> calls and generating the following errors:
>> >>
>> >> [java] 2009-10-07 13:37:58,952 ERROR:
>> >> org.directwebremoting.impl.DefaultCreatorManager - Class not found:
>> >> 'test1'
>> >> [java] 2009-10-07 13:37:58,952 WARN :
>> >> org.directwebremoting.impl.DefaultCreatorManager - Names of known
>> classes
>> >> are: __System CalendarController AccountController __Data
>> >> SignupController
>> >> [java] 2009-10-07 13:37:58,999 WARN :
>> >> org.directwebremoting.servlet.ExceptionHandler - Error:
>> >> java.lang.SecurityException: Class not found
>> >>
>> >> When I move it to http://localhost/servlet/t/test1 there is no
>> problem.
>> >>
>> >> Any idea?
>> >>
>> >> Thanks in advance,
>> >> Bill
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25791950.html
>> >> Sent from the DWR - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@...
>> >> For additional commands, e-mail: users-help@...
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798711.html
>> Sent from the DWR - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/%22Class-not-found%22-error-tp25791950p25798865.html
Sent from the DWR - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...