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;...
Type: Posts; User: nesyarug; Keyword(s):
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;...
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...
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):
...
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...
Got it working again.
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
...
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...
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...
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...
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...
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:
...
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...
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...
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:"...
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...
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 =...
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...
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...
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...
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...
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....
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:
...
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...
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:
...
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
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...