-
1. Re: Problems deploying 1.0 Beta
szimano Nov 16, 2005 6:01 PM (in response to skopcha)Are you sure you have EJB3 working with your portal ? And what version of JBoss AS are you using ?
Tomek -
2. Re: Problems deploying 1.0 Beta
skopcha Nov 16, 2005 6:14 PM (in response to skopcha)I am using the jboss-portal-2.0.1RC3-jboss-4.0.3SP1 package which appears to have the ejb-deployer.xml in the deploy directory. I assumed that it was properly setup as part of the package. How can I test that ejb is working properly?
-
3. Re: Problems deploying 1.0 Beta
skopcha Nov 16, 2005 7:28 PM (in response to skopcha)Well that was indeed the problem ejb3 was not installed as part of that package. I downloaded the latest ejb3 and followed the install instructions now all is well. Thanks for the help!
-
4. Re: Problems deploying 1.0 Beta
edeprez Dec 9, 2005 12:24 PM (in response to skopcha)I have the same exception with the following root cause:
Caused by: javax.management.InstanceNotFoundException: wiki:service=wikiService is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:651)
I'm using jboss-4.0.3SP1 (installed through webstart & with EJB3 configuration) and JBoss Portal 2.2.0RC1 (also tried with 2.0.1RC1).
The following services are deployed:
jboss.ejb3
* service=EJB3Deployer
jboss.j2ee
* extension=LoaderRepository,service=EARDeployment,url='wiki.ear'
* module=wiki.ejb3,service=EJB3
* name=org.jboss.wiki.management.WikiService,service=EJB3
Any suggestion about what the problem might be? thanks! -
5. Re: Problems deploying 1.0 Beta
szimano Dec 9, 2005 5:13 PM (in response to skopcha)Edeprez,
Can you please post your full stack trace here ?
Cheers,
Tomek -
6. Re: Problems deploying 1.0 Beta
edeprez Dec 10, 2005 9:25 AM (in response to skopcha)Hello Szimano,
Here is the output when I deploy wiki.ear15:16:16,927 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.3SP1/server/default/deplo y/wiki.ear 15:16:17,145 INFO [JaccHelper] Initialising JACC Context for deployment: wiki.ejb3 15:16:17,270 INFO [Ejb3Deployment] found EJB3 service bean: org.jboss.wiki.management.WikiService 15:16:17,503 INFO [JaccHelper] org.jboss.wiki.management.WikiService has no @SecurityDomain - skipp ing JACC configuration 15:16:17,519 INFO [JaccHelper] JACC Policy Configuration for deployment has been put in service 15:16:17,519 INFO [Ejb3Deployment] EJB3 deployment time took: 374 15:16:17,535 INFO [ProxyDeployer] no declared remote bindings for : org.jboss.wiki.management.WikiS ervice 15:16:17,550 INFO [ProxyDeployer] there is remote interfaces for org.jboss.wiki.management.WikiServ ice 15:16:17,550 INFO [ProxyDeployer] default remote binding has jndiName of org.jboss.wiki.management. WikiServiceRemote 15:16:17,628 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp236 45wiki.ear-contents/wiki.ejb3 15:16:17,628 INFO [TomcatDeployer] deploy, ctxPath=/wiki, warUrl=.../tmp/deploy/tmp23645wiki.ear-co ntents/wiki-exp.war/ 15:16:17,706 ERROR [[/wiki]] Exception starting filter wikiFileAccessFilter java.lang.RuntimeException: Error creating MBeanProxy: wiki:service=wikiService at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:365) at org.jboss.mx.util.MBeanProxyExt.<init>(MBeanProxyExt.java:65) at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:344) at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:308) at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283) at org.jboss.wiki.WikiCommon.getWikiManagement(WikiCommon.java:41) at org.jboss.wiki.fileaccess.WikiFileAccessFilter.init(WikiFileAccessFilter.java:93) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:2 25) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.jav a:308) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 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) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005) 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) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) at org.jboss.web.WebModule.startModule(WebModule.java:68) at org.jboss.web.WebModule.startService(WebModule.java:46) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy41.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400) 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) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy42.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo ymentScanner.java:192) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploym entScanner.java:203) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeployme ntScanner.java:182) Caused by: javax.management.InstanceNotFoundException: wiki:service=wikiService is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508) at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:651) at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:357) ... 95 more 15:16:18,049 ERROR [StandardContext] Error filterStart 15:16:18,049 ERROR [StandardContext] Context [/wiki] startup failed due to previous errors 15:16:18,049 WARN [ServiceController] Problem starting service jboss.web.deployment:war=wiki.war,id =-1089295951 org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp2 3645wiki.ear-contents/wiki-exp.war/ deployment failed at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:349) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) .... ....
I've also tried with the zipped version of jboss-4.0.3SP1 (after having added the ejb3 stuff) and the problem still persist. -
7. Re: Problems deploying 1.0 Beta
szimano Dec 10, 2005 6:39 PM (in response to skopcha)Hmmm... this really looks like you're having EJB2.1 deployer :/
Can you past mi "dir" or "ls" command in your $JBOSS_HOME/server/default/deploy ?
Cheers,
Tomek -
8. Re: Problems deploying 1.0 Beta
edeprez Dec 12, 2005 5:07 AM (in response to skopcha)Here is the listing. Sorry for the delay... I don't work on Sunday ;)
Directory of C:\jboss-4.0.3SP1\server\default\deploy 10/12/2005 15:16 <DIR> . 10/12/2005 15:16 <DIR> .. 23/10/2005 10:56 408 bsh-deployer.xml 23/10/2005 10:56 2.067 cache-invalidation-service.xml 23/10/2005 10:56 1.925 client-deployer-service.xml 23/10/2005 10:56 747 ear-deployer.xml 23/10/2005 10:56 11.605 ejb-deployer.xml 23/10/2005 22:57 3.805 ejb3-clustered-sfsbcache-service.xml 23/10/2005 22:57 4.106 ejb3-entity-cache-service.xml 23/10/2005 22:57 14.341 ejb3-interceptors-aop.xml 10/12/2005 15:14 <DIR> ejb3.deployer 23/10/2005 10:56 4.753 hsqldb-ds.xml 10/12/2005 14:39 <DIR> http-invoker.sar 10/12/2005 14:39 <DIR> jboss-aop.deployer 10/12/2005 14:39 <DIR> jboss-bean.deployer 24/10/2005 12:26 5.926 jboss-ha-local-jdbc.rar 24/10/2005 12:26 8.158 jboss-ha-xa-jdbc.rar 24/10/2005 12:26 7.148 jboss-local-jdbc.rar 10/12/2005 14:56 <DIR> jboss-portal.sar 10/12/2005 14:39 <DIR> jboss-ws4ee.sar 24/10/2005 12:26 14.394 jboss-xa-jdbc.rar 23/10/2005 10:56 3.515 jbossjca-service.xml 10/12/2005 14:39 <DIR> jbossweb-tomcat55.sar 10/12/2005 14:39 <DIR> jms 10/12/2005 14:39 <DIR> jmx-console.war 23/10/2005 10:56 5.391 jmx-invoker-service.xml 23/10/2005 10:56 878 jsr88-service.xml 24/10/2005 12:26 11.456 mail-ra.rar 23/10/2005 10:56 1.645 mail-service.xml 10/12/2005 14:39 <DIR> management 23/10/2005 10:56 5.305 monitoring-service.xml 10/12/2005 15:03 679 portal-oracle-ds.xml 23/10/2005 10:56 1.850 properties-service.xml 23/10/2005 10:56 3.926 schedule-manager-service.xml 23/10/2005 10:56 2.217 scheduler-service.xml 23/10/2005 10:56 198 sqlexception-service.xml 24/10/2005 12:26 12.436 uuid-key-generator.sar 31/10/2005 23:50 952.068 wiki.ear 26 File(s) 1.080.947 bytes
I'm not quite sure what you mean by "you're having EJB2.1 deployer" but I tried to start jboss without 'ejb-deployer.xml' and I still have the same error with the wiki plus another one complaining about ejb-deployer not being there. -
9. Re: Problems deploying 1.0 Beta
szimano Dec 12, 2005 5:13 AM (in response to skopcha)"edeprez" wrote:
Here is the listing. Sorry for the delay... I don't work on Sunday ;)
Me nighter... i reply to forums only :)
Hmmm looks like installation is OK. I'll try deploying wiki again on some fresh jboss installation... maybe there are some libs missing... i'm not sure.
Tomek -
10. Re: Problems deploying 1.0 Beta
edeprez Dec 20, 2005 11:37 AM (in response to skopcha)Tomek,
Any chance you got some time already to check on this matter?
Thx!
Eric -
11. Re: Problems deploying 1.0 Beta
szimano Dec 20, 2005 12:38 PM (in response to skopcha)OK... here's what i did to make it working:
1) Downloaded 2.0.1RC3 portal bundled with as 4.0.3sp1 from here:
http://prdownloads.sourceforge.net/jboss/jboss-portal-2.0.1RC3-jboss-4.0.3SP1.zip?download
and then unziped it
2) Installed EJB3 RC3 as in the install instructions (but in the "default" configuration)
3) Copied wiki.ear to deploy dir.
4) Added appropriate parts portal-default.xml as in http://labs.jboss.com/wiki/InstallingJBossWiki
5) Run the server... and it worked...
I'm affraid that portal RC3 won't work if just copied to the deploy dir of AS installed with ejb3 by jar installer :/ I'm not sure why.
Hope it helps,
Tomek -
12. Re: Problems deploying 1.0 Beta
edeprez Dec 20, 2005 12:57 PM (in response to skopcha)Thanks a lot, I downloaded the EJB3 RC3 and installed it in place of the stuff from the jar installer (seems the jboss-xb.jar file was missing from /lib dir)
Works fine now!
Eric. -
13. Re: Problems deploying 1.0 Beta
szimano Dec 20, 2005 12:59 PM (in response to skopcha)Great :)
Tomek -
14. Re: Problems deploying 1.0 Beta
osesm Jan 2, 2006 9:59 AM (in response to skopcha)The default build uses /tmp/wiki as it's store. I guess this means that it won't work on Windows.