Seam Eclipse project w/ Maven - broken out of the box?
by Tom Bryan
I use the New Project wizard in Eclipse 3.5 to create a set of Seam projects
named demo, demo-ejb, etc. The projects seem to work correctly: the code
compiles, Servers view launches the app, etc.
The only problem is that the demo-tests project doesn't seem to work at all.
Has anybody gotten this to work "out of the box"? Or does it require some
tweaking to make it work?
More deatils: I'm using
JDK 1.6.0_20
Eclipse 3.5
JBoss Tools 3.1
m2eclipse 0.10
TestNG
I have installed the WTP patch - 2010 04 13.
I have added -Dsun.lang.ClassLoader.allowArraySyntax=true to the TestNG launch
configuration.
JBoss embedded fails to start, saying
*** DEPLOYMENTS MISSING DEPLOYERS: Name
vfsfile:/home/tbryan/Eclipse/Workspaces/data/demo-test/bootstrap/conf/jboss-
service.xml
vfsfile:/home/tbryan/Eclipse/Workspaces/data/demo-
test/bootstrap/deploy/hsqldb-ds.xml
vfsfile:/home/tbryan/Eclipse/Workspaces/data/demo-
test/bootstrap/deployers/ejb-deployer-beans.xml
I'm trying to figure out whether I have some local problem or whether the
TestNG part of JBoss Tools + Seam + Maven simply doesn't work.
Thanks,
---Tom
15 years, 10 months
[JBoss Remoting] - Secure JMX Invoker
by Rupali Desai
Rupali Desai [http://community.jboss.org/people/rtdesai] created the discussion
"Secure JMX Invoker"
To view the discussion, visit: http://community.jboss.org/message/549199#549199
--------------------------------------------------------------
Hello,
I have enabled authentication for the JMX invoker. However when I try to access the MBeans, I get the following error.
java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:88)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Here is the client side code snippet.
Hashtable env = new Hashtable();
String factory = "org.jboss.security.jndi.JndiLoginInitialContextFactory";
env.put(Context.INITIAL_CONTEXT_FACTORY, factory);
env.put(Context.SECURITY_CREDENTIALS, "test");
env.put(Context.SECURITY_PRINCIPAL, "test");
env.put(Context.SECURITY_PROTOCOL, "testLoginInitialContext");
ctx = new InitialContext(env);
server = (MBeanServerConnection) ctx
.lookup("jmx/invoker/RMIAdaptor")
Any idea, what I am missing here.
Thanks
RTD
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549199#549199]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 10 months