Search:

Type: Posts; User: nesyarug; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. I now created a smaller test case where I'm...

    I now created a smaller test case where I'm already logged in. Then posting to an HTTPS secured URL. Same 405 error is thrown.

    The debug log says:

    Request: FilterInvocation: URL: /app/test;...
  2. Apologies for the late response. I've have...

    Apologies for the late response.

    I've have tracked JSESSIONID as suggested, but it is not changing - not after the 302 and not after the 405.

    It is the 302 redirect (that redirects HTTP to...
  3. Hi Radim, Assuming you are using Web MVC and...

    Hi Radim,

    Assuming you are using Web MVC and some controller to delete your user, here is what worked for me (place this code after deleting the user from the database):
    ...
  4. POST method gets turned into GET method after secure redirect?

    Hi,

    I'm encountering a strange issue. The ultimate error is:HTTP Status 405 - Request method 'GET' not supported

    My site allows users to browse most parts anonymously over HTTP.

    Some pages...
  5. Replies
    1
    Views
    477

    Got it working again. ...

    Got it working again.

    <filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    ...
  6. Thanks! That worked and solved a heap of other...

    Thanks! That worked and solved a heap of other problems too (jsp includes not working ao). Not sure how or when those tags sneaked in. I was in the middle of refactoring offloading static content to...
  7. Replies
    1
    Views
    477

    jsp:include not working - any thoughts?

    Hi,

    After making some changes to my application (web server fronting JBoss instead of going directly to JBoss, got rid of Tuckey's URLRewrite, static content now on the web server) my pages only...
  8. Filter chain invoked for both initial request URL and view?

    Hi.

    I have a question about Spring Security and the invocation of the filter chain. What I can see in the logs is that when a request for say "/" comes in, the filter chain is invoked and does its...
  9. Replies
    7
    Views
    743

    Seems to be working now. I marked my client...

    Seems to be working now. I marked my client HornetQ libraries as provided (through Maven) so these do not get included in the WAR.

    First, I got an error saying class...
  10. Replies
    7
    Views
    743

    So different class loaders loaded the 2 classes:...

    So different class loaders loaded the 2 classes:

    I took the source for HornetQSession and added the following to the createProducer(final Destination destination) method call:

    ...
  11. Replies
    7
    Views
    743

    So my WAR has the client JARs: ...

    So my WAR has the client JARs:

    hornetq-core-client-2.2.13.Final.jar
    hornetq-jms-client-2.2.13.Final.jar

    and the server (JBoss AS 7.1.1) has:

    hornetq-core-2.2.13.Final...
  12. Replies
    7
    Views
    743

    Will try. Not my strongest skill :) with...

    Will try. Not my strongest skill :) with different contexts in Spring/Web, and my application deployed as a WAR in JBoss I always struggle a bit to fully comprehend how every class gets loaded. Will...
  13. Replies
    7
    Views
    743

    Hi Mark, Yes, strange enough. That is how I...

    Hi Mark,

    Yes, strange enough. That is how I traced it to that method. I double checked just now and my cursor is on the line:

    throw new InvalidDestinationException("Not a HornetQ Destination:"...
  14. Replies
    7
    Views
    743

    Not a HornetQ Destination:HornetQQueue

    Hi there,

    I'm banging my head on this problem for a while now so thought I better ask this forum.

    I'm using JBoss AS 7.1.1 with full-ha configuration. I want to use HornetQ as my messaging...
  15. CurrencyFormatter setting Currency myself?

    Hi there,

    Is there a way to programatically set the CurrencyFormatter's currency?

    I have a 'price' property on a Form and annotate it as follows:

    @NotNull
    @Min(0)
    @NumberFormat(style =...
  16. So the update is I managed to get past the...

    So the update is I managed to get past the problem and my WAR is now deploying without startup errors.

    Unfortunately I don't know exactly what changes I made contributed to resolving the issue I...
  17. Hibernate 3.6.10, Spring 3.1.1 - stuck in loop at WAR deployment

    Hi,

    I'm migrating an older Spring web application to Spring 3.1.1/Hibernate 3.6.10/JBoss AS 7.1.1.

    I've resolved quite a few issues already, but I'm afraid I'm stuck at the moment.

    After...
  18. WebDataBinder binding to wrong model attribute

    Hello,

    My Controller's initBinder method is throwing "IllegalStateException: Invalid target for validator". I believe this is because when the WebDataBinder gets created the wrong model attribute...
  19. Yes, at least I believe so. The JMX console has...

    Yes, at least I believe so. The JMX console has f.e. the following (a.o) for HibernateStatistics:

    SecondLevelCachePutCount R long MBean Attribute. 785
    SecondLevelCacheHitCount R long MBean...
  20. Hibernate+EhCache: How can I see the statistics of my 2nd level cache?

    Hi,

    My Spring web app uses Hibernate configured with EhCache for it's 2nd level cache.

    I've registered Hibernate JMX statistics service and can see that the caches are used (f.e....
  21. Replies
    0
    Views
    1,332

    Spring 3 custom converter how?

    Hullo,

    My web application uses encrypted IDs whenever exposed by a view. For example consider the following URL:

    http://www.parts-depot.com/parts/00345

    The part ID in my case would be:
    ...
  22. Replies
    19
    Views
    9,461

    Not sure if it is the cleanest way to do things,...

    Not sure if it is the cleanest way to do things, but got things going as follows:

    1: My Validator (which still implements org.springframework.validation.Validator) would invoke a JSR-303...
  23. I'm afraid I can't help you as I've never used a...

    I'm afraid I can't help you as I've never used a data source looked up via jndi.

    I'm posting my datasource definition for your reference, I'm running in JBoss 5.1.0 connecting to MySQL:


    ...
  24. I understand now. I guess the same goes when one...

    I understand now. I guess the same goes when one is running on JBoss/Tomcat as the error I got was thrown from a Tomcat filter.

    Many thanks,
    Nes
  25. Spring MVC 3, is ContextLoaderListener needed?

    Hello,

    I have a question about the ContextLoaderListener. Is it still needed?

    The web.xml of the Spring MVC basic app doesn't have a ContextLoaderListener configured? See...
Results 1 to 25 of 55
Page 1 of 3 1 2 3