[jboss-user] [JBoss Web Services] - JBoss 5.1 @WebContext custom auth-method failure
Sridhar Alapati
do-not-reply at jboss.com
Mon Apr 4 16:03:55 EDT 2011
Sridhar Alapati [http://community.jboss.org/people/sridhar18] created the discussion
"JBoss 5.1 @WebContext custom auth-method failure"
To view the discussion, visit: http://community.jboss.org/message/597666#597666
--------------------------------------------------------------
*Issue:* Web Services application failing to deploy. I'm using a custom auth-method and jboss 5.1 AS doesn't like it. I'm trying to migrate from JBoss 4.2.3.GA to JBoss 5.1.0.GA. The custom auth-method stuff works fine on 4.2.3.GA.
*Related JIRA:* https://issues.jboss.org/browse/JBWS-2762 https://issues.jboss.org/browse/JBWS-2762 - (Relax restriction on @WebContext(authMethod). Does this mean I can't use JBoss 5.1 in it's current state?
I'd appreciate if there are any workaround suggestions. Thanks
*Stack Trace:*
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: Illegal auth method value: MY-AUTH-METHOD
at org.jboss.wsf.spi.annotation.AuthMethod.valueOf(AuthMethod.java:75)
at org.jboss.wsf.framework.deployment.ContextRootDeploymentAspect.validateSecuritySettings(ContextRootDeploymentAspect.java:116)
at org.jboss.wsf.framework.deployment.ContextRootDeploymentAspect.getExplicitContextRoot(ContextRootDeploymentAspect.java:76)
at org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect.getExplicitContextRoot(BackwardCompatibleContextRootDeploymentAspect.java:45)
at org.jboss.wsf.framework.deployment.ContextRootDeploymentAspect.create(ContextRootDeploymentAspect.java:48)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/597666#597666]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110404/4e62b255/attachment.html
More information about the jboss-user
mailing list