[JBoss-user] [JBossWS] - DataHandler jaxrpc mapping

2005-01-19 Thread time4tea
Hi, I'm on the last bit of deployment for a 1.4 type webservices deployment. I've got through the webservices.xml, the wscompile, etc. My bean almost deploys now, but its failing with [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://java.sun.com/jax-rpc-ri/internal}datahandler

[JBoss-user] [Management, JMX/JBoss] - Re: Jvm 1.5.0, jboss 4.0.0 and remote jvm jmx monitor

2004-12-02 Thread time4tea
Thanks for the update! Best regards, James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857152#3857152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857152 ---

[JBoss-user] [Management, JMX/JBoss] - Jvm 1.5.0, jboss 4.0.0 and remote jvm jmx monitor

2004-12-01 Thread time4tea
There seems to be an issue with the jconsole etc monitoring when using 1.5.0 and jboss 4.0.0. If the remote jvm monitoring is enabled (-Dcom.sun.management.jmxremote ) , JBoss fails to start, with jboss.system:service=MainDeployer org.jboss.util.NestedRuntimeException: Error creating MBeanPro

[JBoss-user] [JBoss.NET] - Re: Migrate from WL to JBoss .net

2004-11-15 Thread time4tea
I found the fix to the problem! It was identical to this: http://java2.5341.com/msg/64448.html Where the axis URLMapper service was not running correctly. James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855204#3855204 Reply to the post : http://www.

[JBoss-user] [JBoss.NET] - Migrate from WL to JBoss .net

2004-11-15 Thread time4tea
I'm trying to migrate and EJB previously deployed as a web service in WL6.1. I've looked at the JBoss WS, and it seems that its not ready for prime time yet. There's far too much manual generation of wsdl files etc. So I revert to JBoss.NET which I have in fact had working in an older version o

[JBoss-user] [Security & JAAS/JBoss] - Re: Insufficient method permissions, principal=richja, metho

2004-11-10 Thread time4tea
(The classloader issue is a red-herring) I'm not 100% sure that this is a race condition. Simply waiting until the cache times out will mean that the code works all the time. Refreshing the page before the cache times out will reliably fail all the time. Reducing the cache to zero means the pa

[JBoss-user] [Security & JAAS/JBoss] - Re: Insufficient method permissions, principal=richja, metho

2004-11-10 Thread time4tea
Yeah, the code is in the wrong package, because I thought I might have to use the SecurityAssociation classes, but it turns out that its not necessary. This was solved by the use of ClientLoginModule.. it will move back to where it belongs! However, the logout call (its not one that I am maki

[JBoss-user] [Security & JAAS/JBoss] - Re: Insufficient method permissions, principal=richja, metho

2004-11-10 Thread time4tea
I can tell you that if you reduce the authentication cache timeout to 5 seconds, and the resolution to 1 second, and wait 5 seconds between page submissions, it works fine. If you refresh the page twice in quick succession, it fails. The call getEnvironments is where is succeedsthen refresh

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with roles: principalRoles=null

2004-11-10 Thread time4tea
Hmm.. this seems very similar to the problem I'm seeing. Does it work sometimes and not others? If you add: | | | | | | to your log4j.xml , can you see that initially there IS in fact a bunch of roles? View the original post : http://www.jboss.org

[JBoss-user] [Security & JAAS/JBoss] - Forgot method permission

2004-11-10 Thread time4tea
The problem was that I had not specified any method-permission roles for the call, nor had i said the method was unchecked. Adding a method permission solved the problem. Hurrah. Now i still have the issue that with the next invocation ( like resubmitting the page for example) the principal

[JBoss-user] [Security & JAAS/JBoss] - Re: Insufficient method permissions, principal=richja, metho

2004-11-10 Thread time4tea
This is 4.0.0. Actually the subject was chopped, it was Insufficient method permissions, principal=richja, method=create, interface=LOCALHOME, requiredRoles=[], principalRoles=[CMD-DRV-LON-...] | Note that the required roles are [] (nothing, i assume). What gives? Cheers James View th

[JBoss-user] [Security & JAAS/JBoss] - Insufficient method permissions, principal=richja, method=cr

2004-11-10 Thread time4tea
Please can anybody explain this error message? I think I'm now logged in, but calling an EJB doesn't work. This will be the case the first time logging in, then subsequent page refreshes (presumably the principal is now cached?) show a different message: 2004-11-10 13:33:26,010 TRACE [org.jbos

[JBoss-user] [Security & JAAS/JBoss] - Re: Writing custom LoginModule

2004-11-08 Thread time4tea
So, I found one small bug! In the constructor: public xxLoginModule() { | log.error ( "Creating " + this.getClass().getName() ); | } but, "log" is not defined at this point, so resulting in NPE, which is not logged, and which results in no authentication Setting ths log level

[JBoss-user] [Security & JAAS/JBoss] - Writing custom LoginModule

2004-11-08 Thread time4tea
I've looked at the relevant Wiki page about writing a custom login module. I can't get it to work at all. I'm trying right now for it to just log that its even being loaded. I can't see anything to indicate that it is. Nor can I see what LoginModule is being called, if any. Any help to diagnos

[JBoss-user] [Security & JAAS/JBoss] - Wedgetail integration with JBoss JAAS

2004-11-05 Thread time4tea
Hi, I'm using Wedgetail JCSI SSO software to perform active directory (SPNEGO) authentication. The protection of the web resources works fine, and in the web tier I can call request.getUserPrincipal(), and the correct calling principal is returned. I did note though, that the principal and Htt

[JBoss-user] [Installation & Configuration] - ExternalContext classloader problems

2004-09-30 Thread time4tea
Hi, I'm trying to configure an ExternalContext so I can deploy a remote JMS queue/topic into JBoss 4.0.0. I've managed to get an ExternalContext service configured, but its failing on where to find the context factory classes. I can't for the life of me figure out where to put the jar files so