[JBoss Portal] - Jboss Portal 2.7.0 and JBoss AS 5
by simundi
Hi,
I'm testing portal in the new JBoss AS and does not success.
I put the directory "jboss-portal.sar" (2.7.0-ga) inside "jboss-5.0.0.GA\server\default\deploy" and run.
The result:
2009-01-08 12:42:32,225 WARN [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/",type=SubDeployment already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| ...
|
Some idea ??
Thanks
Simundi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200358#4200358
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200358
17 years, 3 months
[Microcontainer] - Problems with examples
by ahalley
Hi
I downl;oaded the latest examples on 10-Dec-2008 and can't seem to get commandLineClient to run. It appears as if the deployer is not being initialised in EmbeddedBootstrap.
Any help would be gratefully appreciated.
I'm running under Windows XP as follows:
C:\examples\User_Guide\gettingStarted\commandLineClient\target\client-cl.dir>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Djava.ext.dirs=./lib -cp client-1.0.0.jar org.jboss.examp
le.client.Client
Client DEBUG [08-01-2009 13:52:53] KernelFactory - Starting JBoss Kernel construction...
Client DEBUG [08-01-2009 13:52:53] KernelFactory - Completed JBoss Kernel construction. Duration: 203 milliseconds
-----------------------------------
Menu:
d) Deploy Human Resources service
u) Undeploy Human Resources service
a) Add employee
l) List employees
r) Remove employee
g) Get a salary
s) Set a salary
t) Toggle hiring freeze
m) Display menu
p) Print service status
q) Quit
>d
Client WARN [08-01-2009 13:53:03] EmbeddedBootstrap - Error during deployment: null
java.lang.NullPointerException
at org.jboss.example.client.EmbeddedBootstrap.deploy(EmbeddedBootstrap.java:31)
at org.jboss.example.client.Client.deploy(Client.java:72)
at org.jboss.example.client.ConsoleInput$1.run(ConsoleInput.java:52)
at java.lang.Thread.run(Thread.java:595)
>
Regards
Alan Halley
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200344#4200344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200344
17 years, 3 months
[JBossWS] - Problems with EJB3 and JBossWS
by giordano
Hello everybody,
I have the following problem:
I developed a simple EJB application using JBoss 5.0.0.GA without any upgrading. The EJB application is made by 2 Entity with oneToMany bidirectional relation. I also developed a SLSB to create, delete, get the entity beans. Due to relation Entity Bean 1 contains a list of Entity Beans 2 and Entity Bean 2 contains a reference to Entity Bean 1.
I also developed a simple external client. Through this client I call the SLSB to create some Entity Bean 1 and some Entity Beans 2 and the relationships. Thorough the same SLSB I get all Entity Bean 1 (with all the related Entity Bean 2) and I have no problems. Now I exposed all the methods of SLSB as WS and I created another client for WS. With this client I am able to call all methods except the method that get all Entity Bean 1. I have an error due to bidirectional relationship between the Entity Bean 1 and the Entity Bean 2. I modified the relationship from bidirectional to unidirectional and now I am able to call the method get all Entity Bean 1 from WS Client. Is there one able to explain me which is the problem and if I can solve it?
Thank you very much and bye,
Giordano
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200330#4200330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200330
17 years, 3 months