[JBoss Portal] - Cannot import the node. The imported data are incorrect or the node type 'exo:portalFolder' is not allowed to be child's node type'exo:portalFolder'.
by Pablo Peralta
Pablo Peralta [https://community.jboss.org/people/cellosofia] created the discussion
"Cannot import the node. The imported data are incorrect or the node type 'exo:portalFolder' is not allowed to be child's node type'exo:portalFolder'."
To view the discussion, visit: https://community.jboss.org/message/833133#833133
--------------------------------------------------------------
Hello World :)
I need some help from you guys, and I will thank each one.
Well, the case is that I'm working with JBoss Enterprise Portal Platform Version 5.2.2, with Site Publisher installed as well. When I access the "ecmdemo" portal container, I go to Group->Content Explorer, under the "Sites Management" view, i click the site name on the left tree, then I click on System->Import, i choose the file exported from another JBoss Enterprise Portal Platform in .zip format, and then when I click on "Import", this error appears: "Cannot import the node. The imported data are incorrect or the node type 'exo:portalFolder' is not allowed to be child's node type'exo:portalFolder'."
Why could it be? Can It be because of a damaged or corrupted archive?
I attach the log, however nothing extra is showing in there when i hit the "Import" button.
I also attach the file that i want to import to check, if you want, that it is not corrupted.
Thank you in advance
Pablo
PD: sorry if I made a mistake with my english, i natively speak spanish.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833133#833133]
Start a new discussion in JBoss Portal at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 5 months
[Beginner's Corner] - Dear friend i face the following error in my jboss 5 please give the solution
by Karthikeyan S
Karthikeyan S [https://community.jboss.org/people/karthik_pasc] created the discussion
"Dear friend i face the following error in my jboss 5 please give the solution"
To view the discussion, visit: https://community.jboss.org/message/833051#833051
--------------------------------------------------------------
*I face the below mentiond error msg in my start up when i run run.sh in my terminal*
17:10:09,008 ERROR [AbstractKernelController] Error installing to Instantiated: name=StandardBindings state=Described
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:276)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:97)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:724)
17:10:09,131 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository(a)2a1961(root=/root/Desktop/jboss-5.0.0.GA/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
17:10:09,132 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@2a1961(root=/root/Desktop/jboss-5.0.0.GA/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
17:10:09,132 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@8cacdc{key=org.jboss.profileservice.spi.ProfileKey(a)143b82c3[domain=default,server=default,name=default]}
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:
*** DEPLOYMENTS IN ERROR: Name -> Error
StandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]
*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
ServiceBindingStore -> StandardBindings{Installed:**ERROR**}
ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated}
SystemPropertyBinder -> SystemPropertyBinder#1{Installed:Described}
SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described}
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:724)
17:10:09,386 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
17:10:09,389 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833051#833051]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 5 months
[Snowdrop] - Remote EJB call (JBoss AS7/EAP6 )
by dako ak
dako ak [https://community.jboss.org/people/dako_t] created the discussion
"Remote EJB call (JBoss AS7/EAP6 )"
To view the discussion, visit: https://community.jboss.org/message/825927#825927
--------------------------------------------------------------
Hi all,
I have deployed an EJB jar on JBoss AS 7/EAP6 and wants to call the EJB from my spring application.
I use the SimpleRemoteStatelessSessionProxyFactoryBean and it works for EJB's which are deployed an localhost.
Thats my sample config:
<bean id="converterConfigEJB" class="org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean">
<property name="jndiTemplate" ref="remoteEjbJndiTemplate"/>
<property name="jndiName"
value="ejb:/Converter-EJBs/ConverterConfigService!de.mycompany.converter.ejb.interfaces.ConverterConfigServiceRemote" />
<property name="businessInterface" value="de.mycompany.converter.ejb.interfaces.ConverterConfigServiceRemote" />
</bean>
How can I configure that the remote EJB is deployed on a remote host?
I think with JNDI properties but if I look into the EJB client samples from Red Hat they are using a "jboss-ejb-client.properties" file with properties like this: "remote.connection.default.host".
I've tried to use this properties with a "org.springframework.jndi.JndiTemplate":
<bean id="remoteEjbJndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED">false</prop>
<prop key="remote.connection.default.host">localhost</prop>
<prop key="remote.connection.default.port">4447</prop>
<prop key="remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS">default</prop>
</props>
</property>
</bean>
But it doesnt matter which values I set for host or port properties my example works. I think this jboss properties will be ignored. What are the correct properties for host and port?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/825927#825927]
Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 5 months
[Beginner's Corner] - Re: Jobss is shutting down
by N T
N T [https://community.jboss.org/people/jb_adm1n] created the discussion
"Re: Jobss is shutting down"
To view the discussion, visit: https://community.jboss.org/message/832933#832933
--------------------------------------------------------------
It doesn't help with -Xrs and it just crashes without giving any clue on what is causing the shutdown. We are using JBoss EAP 5.1 as standalone instance and when the client tries to access non existant resource (host), it's crashing with a UnknownHost exception which should not. Please find the log below and would greatly appreciate your help.
2013-08-15 14:41:23,484 INFO [STDOUT] (ajp-162.123.115.79-8009-4) Up front Reader is done
2013-08-15 14:41:23,499 INFO [STDOUT] (Thread-559) Reader [class com.divinvest.paris3.transactions.remittances.edits.readers.CaseLevelRemitFinancialActivityElectionReader] took 0.015 seconds.
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) Could not connect to server.
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) java.net.UnknownHostException: crdcasp3sbat
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.Socket.connect(Socket.java:529)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.Socket.connect(Socket.java:478)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.Socket.<init>(Socket.java:375)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.net.Socket.<init>(Socket.java:189)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.commons.net.SocketClient.connect(SocketClient.java:162)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.aegon.arch.util.FTPUtility.connect(FTPUtility.java:56)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.divinvest.paris3.uicontroller.eds.actions.LoadJobLayoutEDSAction.uploadFileForLoad(LoadJobLayoutEDSAction.java:1016)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.divinvest.paris3.uicontroller.eds.actions.LoadJobLayoutEDSAction.executeLogic(LoadJobLayoutEDSAction.java:125)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.divinvest.paris3.uicontroller.eds.actions.EDSBaseAction.execute(EDSBaseAction.java:177)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.divinvest.paris3.uicontroller.eds.actions.EDSBaseAction.perform(EDSBaseAction.java:351)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at com.divinvest.paris3.uicontroller.eds.EdsUIC.service(EdsUIC.java:75)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:402)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
2013-08-15 14:41:25,092 ERROR [STDERR] (ajp-162.123.115.79-8009-1) at java.lang.Thread.run(Thread.java:662)
2013-08-15 14:41:25,092 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Runtime shutdown hook called, forceHalt: true
2013-08-15 14:41:25,092 INFO [org.apache.coyote.http11.Http11AprProtocol] (JBoss Shutdown Hook) Pausing Coyote HTTP/1.1 on http-162.123.115.79-8080
2013-08-15 14:41:25,108 INFO [org.apache.coyote.http11.Http11AprProtocol] (JBoss Shutdown Hook) Stopping Coyote HTTP/1.1 on http-162.123.115.79-8080
2013-08-15 14:41:26,154 INFO [org.apache.coyote.ajp.AjpAprProtocol] (JBoss Shutdown Hook) Pausing Coyote AJP/1.3 on ajp-162.123.115.79-8009
2013-08-15 14:41:26,154 INFO [org.apache.coyote.ajp.AjpAprProtocol] (JBoss Shutdown Hook) Stopping Coyote AJP/1.3 on ajp-162.123.115.79-8009
2013-08-15 14:41:26,201 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss Shutdown Hook) undeploy, ctxPath=/parisIII
2013-08-15 14:41:26,248 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/parisIII]] (JBoss Shutdown Hook) action: Finalizing this controller servlet
2013-08-15 14:41:26,342 INFO [org.jboss.proxy.ejb.ProxyFactory] (JBoss Shutdown Hook) Unbind EJB Home 'ReportBO' from jndi 'ReportBO'
2013-08-15 14:41:26,357 INFO [org.jboss.ejb.EjbModule] (JBoss Shutdown Hook) Undeployed ReportBO
................
......................
2013-08-15 14:41:28,778 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss Shutdown Hook) undeploy, ctxPath=/invoker
2013-08-15 14:41:28,778 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss Shutdown Hook) undeploy, ctxPath=/jbossws
2013-08-15 14:41:28,778 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (JBoss Shutdown Hook) undeploy, ctxPath=/web-console
2013-08-15 14:41:28,794 INFO [org.apache.catalina.core.StandardService] (JBoss Shutdown Hook) Stopping service jboss.web
2013-08-15 14:41:28,810 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (JBoss Shutdown Hook) Stopping transaction recovery manager
2013-08-15 14:41:28,810 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (JBoss Shutdown Hook) Destroying TransactionManagerService
2013-08-15 14:41:29,606 INFO [org.jboss.mail.MailService] (JBoss Shutdown Hook) Mail service 'java:/Mail' removed from JNDI
2013-08-15 14:41:34,947 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Shutdown complete
I searched on the forums but no useful clue found. It is a very common issue it seems as many people reported but seems like a better documentation would greatly help people. Let me know if any other info needed.
Thanks in advance.
Regards,
TN
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/832933#832933]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 5 months