[JNDI/Naming/Network] - Missing or invalid invoker- Jboss.deployment.DeploymentExcep
by muddu_shafi
Need help please, New to java and Jboss.
I have a project erpproxy.jar which Is enclosed in ctiwebservices.ear.
I am trying to deploy the ctiwebservices.ear in jboss/server/default/deploy
folder. I have an ejb in that project.
This is the documentation left by the previous employee. Now please explain me where should I write the jndi name(i.e which file; in jboss.xml or in ejb-jar.xml file of erpproxy.jar).
* @ejb.bean name="ERPProxy" display-name="ERP Proxy EJB"
* description = "EJB that provides access to ERP Proxy functions"
* view-type = "remote" jndi-name = "ejb/erpproxy/ErpProxyEJB"
* @ejb.env-entry name="ejb/BeanFactoryPath" type="java.lang.String" value="/erpProxyServicesAppContext.xml"
* @ejb.home extends="javax.ejb.EJBHome"
* @ejb.interface extends="javax.ejb.EJBObject"
*
* @jboss.clustered
* cluster=true
*
* @jboss.cluster-config
* partition-name="DefaultPartition"
*
* @jboss.cluster-config
* home-policy="org.jboss.ha.framework.interfaces.RoundRobin"
*
*/
@SuppressWarnings("serial")
public class ErpProxyBean extends AbstractStatelessSessionBean implements SessionBean, IErpProxyServices {
As I am trying to run the jboss it gives me an error as such
Creating service jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
2008-08-22 16:54:52,644 DEBUG [org.jboss.ejb.EjbModule] Creating jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
2008-08-22 16:54:52,659 DEBUG [org.jboss.ejb.EjbModule] createService, begin
2008-08-22 16:54:52,659 INFO [org.jboss.ejb.EjbModule] Deploying ERPProxy
2008-08-22 16:54:52,659 DEBUG [org.jboss.ejb.EjbModule] Creating WebClassLoader of class org.jboss.web.WebClassLoader
2008-08-22 16:54:52,675 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ejb.plugins.CleanShutdownInterceptor interceptor
and down:
Problem creating service jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
org.jboss.deployment.DeploymentException: Missing or invalid Container Invokers (in jboss.xml or standardjboss.xml).
Then it says
Incomplete Deplyment Listings.
MBeans waiting fo other Mbeans
Object name: jboss:j2ee:service=EjbModule, module=erpproxy-1.2.jar
state= failed
Reason : org. jboss. deployment. Deployment Exception: Missin or invalid containers.
Please help
Its urgent.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172105#4172105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172105
17 years, 8 months
[JBoss Portal] - Re: Portlet Security Constraints
by PeterJ
Only permissions to pages and portals can be managed in the *-object.xml file.
Besides, even if it were possible to place instance permissions in *-object.xml, it might not do what you want. Both the portlet-instances.xml and *-object.xml file are used to initialize information about a portlet in the database. After that, all management of the portlet is done via the information in the database. While there is an if-exists tag you can place in those files, its actual behavior is sometimes not what you expect. In your case, I could see both the old and new permissions being resident in the database after the update.
My recommendation is to always set if-exists to "ignore" and once the information has been loaded into the database to use the admin portal to do all management.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172103#4172103
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172103
17 years, 8 months
[Beginners Corner] - JBoss Portal 2.6.6 GA New Install Startup Error
by malmit
I just downloaded JBoss Portal 2.6.6 GA and ftp'd it to a machine on my network that does not have internet connection. I started up the portal server using the run.sh script and since there isn't any internet connection a WSDL in portal-wsrp.war was unable to validate and a connection time out occurred. Does anyone know how I can run jboss portal on a machine without internet connection? Thanks in advanced!
Tim
| 20:51:21,637 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp, warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
| 20:54:31,331 ERROR [MainDeployer] Could not start deployment: file:/home/txl/java/jboss-portal-2.6.6.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
| org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
| at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy197.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
| 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:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy195.addDeployer(Unknown Source)
| at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.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:155)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172100#4172100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172100
17 years, 8 months