Hi all. I have this envronment: | Jboss 4.0.5GA on a server with IP address xxx.xxx.xxx.xxx | Tomcat 5.5 on a server with IP address xxx.xxx.xxx.yyy | Liferay 5.1.1 on tomcat | EJBs 2.0 | | | I need to invoke EJB's from a portlet deploied in tomcat. These EJBs are secured; that is user needs to have a role for calling EJBs methods. | I have configured my portlet for connecting to Jboss by using this jndi.properties: | | | java.naming.provider.url=xxx.xxx.xxx.xxx:1099 | | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | | java.naming.factory.url.pkgs=org.jnp.interfaces | | | | When i try to call the EJB i have this error: | | | 2008-09-30 13:17:04,593 ERROR [de.danet.an.workflow.ejbs.client.StandardWorkflowServiceFactory] SecurityException; nested exception is: | | javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required | | java.rmi.AccessException: SecurityException; nested exception is: | | javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required | | at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388) | | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136) | | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107) | | at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637) | | at org.jboss.ejb.Container.invoke(Container.java:975) | | 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) | | | | I think it's becouse i need to be logged on JBoss too; how can i configure my tomcat/jboss for calling these ejbs? | | Any suggestion is welcome. | Thnx.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179565#4179565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179565 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
