I just followed the Installation Tutorial. I downloaded the jboss-portal-2.7.0.GA binary code. Next I added mysql-connector-java-5.1.7-bin to D:\jboss-4.2.2.GA\server\default\lib Next I added portal-mysql-ds to the D:\jboss-4.2.2.GA\server\default\\deploy directory. I run the server using run command. Next When I access the "http://localhost:8080/por" the following error is produced.
anonymous wrote : | javax.servlet.ServletException: java.lang.NullPointerException | org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | root cause | | java.lang.NullPointerException | org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252) | org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112) | org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81) | org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72) | org.jboss.portal.core.controller.Controller.handle(Controller.java:252) | org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) | org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | and portal-mysql-ds.xml file as | <datasources> | <local-tx-datasource> | <jndi-name>JBOSSPortalDS</jndi-name> | <connection-url>jdbc:mysql://localhost:3306/jbossportal</connection-url> | <driver-class>com.mysql.jdbc.Driver</driver-class> | <user-name>root</user-name> | <password>sa</password> | </local-tx-datasource> | </datasources> Is any thing wrong here. Can any one help me in this aspect. Thanx- sekhar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187686#4187686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187686 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user