Message Boards

Liferay NAIT Examples

Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
I was reading through the messages on the portlets group at Yahoo and came across your message dated 7/19/2004 which described some examples produced by Gerry at NAIT.<br /><br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />These examples look very helpful, and are well documented. However <br />when I tried to follow the directions and download the source for the starter example onto my machine I ran into some troubles. Is there a problem with these examples on the Windows platform? has anyone had success working through these examples? If so, would you please share the platform you were working on? Also if anyone knows where I might find additional examples, that would be highly appreciated. <!--emo&emoticon--><img src='@theme_images_path@/emotions/wink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /><!--endemo--> <br />
Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
More on the NAIT examples.<br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />On the site where these examples are located there is a discussion about MySQL and how to switch the database that Liferay uses from Hypersonic to MySQL. I&#39;m not certain wether the examples are dependent on MySQL. However I have gone through the switching process and have tested the example with and without MySQL but neither works. Can anyone tell me wether these examples are dependent on MySQL? When you switch databases like this, does Liferay use the new database for all its internal storage needs, or is it only switched for the portlet? <!--emo&emoticon--><img src='@theme_images_path@/emotions/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <br /><br />
Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
More on the NAIT examples.<br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />I&#39;m trying to debug some problems with these examples. Can anyone give me some general debug pointers? How can I get some better information about the problem? I have looked at the exception output in the dos window where Jboss was started and the log file for JBoss-Tomcat located in ...ext&#092;servers&#092;jboss-tomcatt&#092;server&#092;devault&#092;log&#092;server.log. Is there a way to turn on tracing or logging in the Liferay code? Is there a way to turn on querry logging for the Hypersonic database? Is there a way to turn on tracing in Jboss-Tomcat? <!--emo&emoticon--><img src='@theme_images_path@/emotions/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <br /><br />
Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
More on the NAIT examples.<br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />In the starter example at NAIT they have some source code that you download and unzip in a directory ext&#092;portlets&#092;blank, and then rename the directory to client, along with modifying several other directories and filenames to reflect the client example. You then run ant deploy. The instructions also lead you through some modifications of several XML files in the directory ...ext&#092;servers&#092;jboss-tomcat&#092;server&#092;default&#092;deploy&#092;ext.ear&#092;portal-web-complete.war&#092;WEB-INF. The files are named (Liferay-Portlet.XML, Portlet.XML, Struts-Config.XML, Tiles-Defs.XML). I noticed that for each of these files there was an equivalent -Ext version, for example Liferay-Portlet-Ext.XML which contained information for custom portlets, so I modified the Ext versions instead. I assume the Ext convention was developed after the examples were written. Can anyone confirm this for me? <!--emo&emoticon--><img src='@theme_images_path@/emotions/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <br /><br /><br />
Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
More on the NAIT examples.<br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />After running through the starter portal example at this site and creating the &quot;Client&quot; example portlet, I recieved exception notices in the dos box where jboss-tomcat was started and a message in IE that follows:<br /><br />-----------------------------------------------------------------------<br />HTTP Status 500 - <br /><br />type Exception report<br />message <br />description The server encountered an internal error () that prevented it from fulfilling this request.<br />exception <br />javax.servlet.ServletException: Servlet.init() for servlet MainServlet threw exception<br /> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)<br /> org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)<br /> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)<br /> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br /> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)<br /> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)<br /> org.apache.coyote.http11.Http11Protocol&#036;Http11ConnectionHandler.processConnection(Http11Protocol.java:705)<br /> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)<br /> org.apache.tomcat.util.threads.ThreadPool&#036;ControlRunnable.run(ThreadPool.java:683)<br /> java.lang.Thread.run(Thread.java:534)<br />root cause <br />java.lang.ClassCastException<br /> com.liferay.portal.servlet.MainServlet.init(MainServlet.java:279)<br /> javax.servlet.GenericServlet.init(GenericServlet.java:211)<br /> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)<br /> org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)<br /> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)<br /> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br /> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)<br /> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)<br /> org.apache.coyote.http11.Http11Protocol&#036;Http11ConnectionHandler.processConnection(Http11Protocol.java:705)<br /> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)<br /> org.apache.tomcat.util.threads.ThreadPool&#036;ControlRunnable.run(ThreadPool.java:683)<br /> java.lang.Thread.run(Thread.java:534)<br />note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.<br /><br />Apache Tomcat/5.0.26<br /><br /><br />-----------------------------------------------------------------------<br /><br />Anyone have any ideas as to what might be going wrong? The system I&#39;m working on ran the Liferay test example fine before I started, and if I undo all the changes made to the .XML files to remove the starer &quot;client&quot; example, all is well again.<br /><br />I&#39;m wondering if anyone out there has tried these examples on a <br />configuration similar to mine and whether they had similar troubles? My system configuration is as follows:<br /><br />Windows 2000<br />Liferay ep 2.2 (liferay-ep-2.2.0rc3-jboss-tomcat.zip,liferay-ep-2.2.0rc3-src.zip)<br /> downloaded source to /portal<br /> created ext environment<br /> modified /ext/app.server.&#036;{user.name}.properties to set the server to jboss-tomcat<br /> Downloaded liferay-ep-2.2.0rc4-jboss-tomcat.zip to /ext/downloads, ran ant install-jboss-tomcat<br /> ran ant deploy from the /ext directory<br />JBoss-Tomcat 5.0.26 (bundled with Liferay)<br />Java 1.4 (j2sdk1.4.2_04)<br />Ant 6.2 (apache-ant-1.6.2-bin.zip)<br />Jikes 1.21 (jikes-1.21-1.windows.zip)<br /><br />The exception dumps in Server.log is the following:<br /><br />-----------------------------------------------------------------------<br /><br />2004-09-03 16:59:02,265 ERROR [org.jboss.web.localhost.Engine] StandardContext[]Servlet threw load() exception<br />javax.servlet.ServletException: Servlet.init() for servlet MainServlet threw exception<br /> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1061)<br /> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)<br /> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)<br /> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)<br /> at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)<br /> at org.jboss.web.WebModule.startModule(WebModule.java:62)<br /> at org.jboss.web.WebModule.startService(WebModule.java:40)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy17.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy31.start(Unknown Source)<br /> at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy7.deploy(Unknown Source)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner&#036;ScannerThread.doScan(AbstractDeploymentScanner.java:201)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy0.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy4.start(Unknown Source)<br /> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy5.deploy(Unknown Source)<br /> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)<br /> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)<br /> at org.jboss.Main.boot(Main.java:145)<br /> at org.jboss.Main&#036;1.run(Main.java:399)<br /> at java.lang.Thread.run(Thread.java:534)<br />2004-09-03 16:59:03,703 ERROR [org.jboss.web.localhost.Engine] ----- Root Cause -----<br />java.lang.ClassCastException<br /> at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:279)<br /> at javax.servlet.GenericServlet.init(GenericServlet.java:211)<br /> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)<br /> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)<br /> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)<br /> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)<br /> at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)<br /> at org.jboss.web.WebModule.startModule(WebModule.java:62)<br /> at org.jboss.web.WebModule.startService(WebModule.java:40)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy17.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy31.start(Unknown Source)<br /> at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy7.deploy(Unknown Source)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner&#036;ScannerThread.doScan(AbstractDeploymentScanner.java:201)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy0.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy4.start(Unknown Source)<br /> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy5.deploy(Unknown Source)<br /> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)<br /> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)<br /> at org.jboss.Main.boot(Main.java:145)<br /> at org.jboss.Main&#036;1.run(Main.java:399)<br /> at java.lang.Thread.run(Thread.java:534)<br /><br />-----------------------------------------------------------------------<br /><br /> <!--emo&emoticon--><img src='@theme_images_path@/emotions/wink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /><!--endemo-->
Andrew_Krois Andrew_Krois, modified 19 Years ago.

Liferay NAIT Examples

New Member Posts: 9 Join Date: 9/4/04 Recent Posts
More on the NAIT examples.<br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/index.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...feray/index.jsp</a><br /><br />On the site where these examples are located there is a discussion about MySQL and how to switch the database that Liferay uses from Hypersonic to MySQL. I have gone through the process of switching to MySQL as described. After doing so I get a nested exception in the dos window for Jboss-Tomcat. Has anyone had success switching to MySQL on the Windows platform?<br /><br />Here is a dump of the exception I&#39;m running into.<br /><br />-----------------------------------------------------------------------<br /><br /> at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)<br /> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504)<br /> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214)<br /> at org.jboss.resource.connectionmanager.JBossManagedConnectionPool&#036;BasePool.getConnection(JBossManagedConnectionPool.java:534)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444)<br /> at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2&#036;ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)<br /> at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)<br /> ... 176 more<br />Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: <br /><br />** BEGIN NESTED EXCEPTION ** <br /><br />java.net.UnknownHostException<br />MESSAGE: serverURL<br /><br />STACKTRACE:<br /><br />java.net.UnknownHostException: serverURL<br /> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)<br /> at java.net.Socket.connect(Socket.java:452)<br /> at java.net.Socket.connect(Socket.java:402)<br /> at java.net.Socket.&lt;init&gt;(Socket.java:309)<br /> at java.net.Socket.&lt;init&gt;(Socket.java:124)<br /> at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:130)<br /> at com.mysql.jdbc.MysqlIO.&lt;init&gt;(MysqlIO.java:265)<br /> at com.mysql.jdbc.Connection.createNewIO(Connection.java:1682)<br /> at com.mysql.jdbc.Connection.&lt;init&gt;(Connection.java:400)<br /> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)<br /> at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158)<br /> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504)<br /> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214)<br /> at org.jboss.resource.connectionmanager.JBossManagedConnectionPool&#036;BasePool.getConnection(JBossManagedConnectionPool.java:534)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444)<br /> at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)<br /> at org.jboss.resource.connectionmanager.BaseConnectionManager2&#036;ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)<br /> at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)<br /> at com.liferay.util.dao.hibernate.DSConnectionProvider.getConnection(DSConnectionProvider.java:61)<br /> at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)<br /> at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132)<br /> at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766)<br /> at com.liferay.portal.util.HibernateConfiguration.init(HibernateConfiguration.java:69)<br /> at com.liferay.util.dao.hibernate.SessionConfiguration.&lt;init&gt;(SessionConfiguration.java:41)<br /> at com.liferay.portal.util.HibernateConfiguration.&lt;init&gt;(HibernateConfiguration.java:39)<br /> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br /> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)<br /> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)<br /> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)<br /> at java.lang.Class.newInstance0(Class.java:308)<br /> at java.lang.Class.newInstance(Class.java:261)<br /> at com.liferay.util.InstancePool._get(InstancePool.java:73)<br /> at com.liferay.util.InstancePool.get(InstancePool.java:39)<br /> at com.liferay.portal.util.HibernateUtil._getSessionConfigurationInstance(HibernateUtil.java:85)<br /> at com.liferay.portal.util.HibernateUtil.openSession(HibernateUtil.java:66)<br /> at com.liferay.portal.util.HibernateUtil.openSession(HibernateUtil.java:60)<br /> at com.liferay.cache.ejb.CacheManagerEJB.clear(CacheManagerEJB.java:65)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.ejb.StatelessSessionContainer&#036;ContainerInterceptor.invoke(StatelessSessionContainer.java:683)<br /> at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)<br /> at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)<br /> at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)<br /> at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)<br /> at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)<br /> at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)<br /> at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)<br /> at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)<br /> at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)<br /> at org.jboss.ejb.Container.invoke(Container.java:723)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)<br /> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)<br /> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)<br /> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)<br /> at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)<br /> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)<br /> at &#036;Proxy412.clear(Unknown Source)<br /> at com.liferay.cache.ejb.CacheManagerUtil.clear(CacheManagerUtil.java:44)<br /> at com.liferay.portal.events.StartupAction.run(StartupAction.java:70)<br /> at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:157)<br /> at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:74)<br /> at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:104)<br /> at javax.servlet.GenericServlet.init(GenericServlet.java:211)<br /> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)<br /> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)<br /> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)<br /> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)<br /> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)<br /> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)<br /> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)<br /> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)<br /> at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)<br /> at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)<br /> at org.jboss.web.WebModule.startModule(WebModule.java:62)<br /> at org.jboss.web.WebModule.startService(WebModule.java:40)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy17.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy31.start(Unknown Source)<br /> at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy7.deploy(Unknown Source)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)<br /> at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner&#036;ScannerThread.doScan(AbstractDeploymentScanner.java:201)<br /> at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)<br /> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)<br /> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.system.ServiceController&#036;ServiceProxy.invoke(ServiceController.java:837)<br /> at &#036;Proxy0.start(Unknown Source)<br /> at org.jboss.system.ServiceController.start(ServiceController.java:367)<br /> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy4.start(Unknown Source)<br /> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)<br /> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)<br /> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:324)<br /> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)<br /> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)<br /> at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)<br /> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)<br /> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)<br /> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)<br /> at &#036;Proxy5.deploy(Unknown Source)<br /> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)<br /> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)<br /> at org.jboss.Main.boot(Main.java:145)<br /> at org.jboss.Main&#036;1.run(Main.java:399)<br /> at java.lang.Thread.run(Thread.java:534)<br /><br /><br />** END NESTED EXCEPTION **<br /><br />-----------------------------------------------------------------------<br /><br />My system configuration is as follows:<br /><br />Windows 2000<br />Liferay ep 2.2 (liferay-ep-2.2.0rc3-jboss-tomcat.zip,liferay-ep-2.2.0rc3-src.zip)<br /> downloaded source to /portal<br /> created ext environment<br /> modified /ext/app.server.&#036;{user.name}.properties to set the server to jboss-tomcat<br /> Downloaded liferay-ep-2.2.0rc4-jboss-tomcat.zip to /ext/downloads, ran ant install-jboss-tomcat<br /> ran ant deploy from the /ext directory<br />JBoss-Tomcat 5.0.26 (bundled with Liferay)<br />Java 1.4 (j2sdk1.4.2_04)<br />Ant 6.2 (apache-ant-1.6.2-bin.zip)<br />Jikes 1.21 (jikes-1.21-1.windows.zip)<br /> <!--emo&emoticon--><img src='@theme_images_path@/emotions/wink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /><!--endemo-->