[Design of JBoss Wiki] - Re: Portal 2.6 support...
by robdale
I just deployed JBoss Wiki beta 2 to a vanilla install of JBoss AS 4.2.1 and JBoss Portal 2.6.1 and got this...
Caused by: java.lang.NoClassDefFoundError: org/jboss/portal/core/modules/RoleModule
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.jboss.wiki.WikiEngine.init(WikiEngine.java:451)
at org.jboss.wiki.WikiEngine.(WikiEngine.java:518)
at org.jboss.wiki.management.WikiService.getWikiEngine(WikiService.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
... 116 more
08:25:30,856 ERROR [StandardContext] Error filterStart
08:25:30,856 ERROR [StandardContext] Context [/wiki] startup failed due to previous errors
08:25:30,871 WARN [ServiceController] Problem starting service jboss.web.deployment:war=wiki.war,id=-1672874880
I put jboss-portal.sar and wiki.ear in server/default/deploy/
Am I doing this right? Neither Portal nor Wiki seem to have explicit docs on how to deploy anything.
Thanks,
Rob
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067381#4067381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067381
17 years, 6 months
[Design of JBoss Web Services] - JAXWS and Username Token
by thomas.diesler@jboss.com
Magesh sais:
I am aware that the UserPrinciapl and Credentials are checked with this
test case and the details are passed via the HTTPRequest, but the real
question is about wsse:UsernameToken and its presence in SOAPHeader and
not in HTTPRequest.
When we set the BindingProvider properties we are able to login and this
testcase passes, but when we set the jboss-wsse-*.xml
configuration this does not appear in the SOAPHeader, whereas it works
for JAXRPC style webservices and it works for JAXWS clients too if we
set the properties like this:
(BindingProvider)port).getRequestContext().put("javax.xml.rpc.security.auth.username", "kermit");
((BindingProvider)port).getRequestContext().put("javax.xml.rpc.security.auth.password", "thefrog");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067347#4067347
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067347
17 years, 6 months
[Design the new POJO MicroContainer] - Writing Tests instructions
by alesj
"adrian(a)jboss.org" wrote :
| 1) MicrocontainerTest is not a part of the testsuite it is a part of the Microcontainer that can be consumed by others. There should be only one MicrocontainerTest class, extends MicrocontainerTest should be in the testsuite.
|
| 2) The MicrocontainerTestDelegate is the place to parameterize tests not subclassing. All relevant features should be in this class.
|
| 3) You shouldn't have to access the delegate to do reasonable operations.
|
| 4) Tests should not fix problems in the main code by subclassing.
|
| 5) All tests should be run with a security manager enabled. The easiest way to do this is to always extend an Abstract class specific to those tests that enable the security manager on the test delegate.This Abstract class is also a good place to put common helpers for related tests.
|
;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067311#4067311
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067311
17 years, 6 months