Hello,
I installed the registration example on tomcat as indicated in the documentation. As soon as I go to the next screen, I get an error:
javax.naming.NamingException: Local server is not initialized org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) javax.naming.InitialContext.init(InitialContext.java:223)
<?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd"> <core:init jndi-pattern="jboss-seam-registration/#{ejbName}/local"/> <core:ejb installed="false"/> </components>