[JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly
by niesar
OK, this is an intermediate information for everybody who is interested how this story is developing.
Well, I actually didn't want to work on this during my trip, but it was itching too much. After updating JBoss on my notebook, I was kind of successful (Yipppieee!!!) - partly at least.
The problem seems to be ClassE. If I do the following changes, everything works just fine:
@Embeddable
| public class ClassE
| implements java.io.Serializable {
|
| private int classEVar; // --> private String classEVar
|
| public ClassE() {
| }
|
| public ClassE(int classEContents) { // --> public ClassE(String classEContents)
| this.classEVar = classEContents;
| }
|
| public int getClassEVar() { // --> public String getClassEVar()
| return classEVar;
| }
|
| public void setClassEVar(int classEVar) { // --> public void setClassEVar(String classEVar)
| this.classEVar = classEVar;
| }
And now variable access with #{classAInst.classEInst.classEVar}works without errors. Input, output, everything works fine like this, no problems at all.
Don't ask me, right now I've no clue why it makes such a difference if I use a String instead of an integer.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959192#3959192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959192
19 years, 9 months
[Installation, Configuration & Deployment] - MBean
by sandipan.biswas@gmail.com
Hi I am getting MBean Exception. can anyone help me.I add the log Arindam In jboss 4.0.2 it's comming like this 17/07/2006 01:06
09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp
09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/
09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/
09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml
09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)...
09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
09:20:16,284 DEBUG [Server] Failed to start
java.lang.RuntimeException: Cannot create MBeanServer
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:566)
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197)
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200)
... 8 more
Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean
at javax.management.modelmbean.ModelMBeanInfoSupport.get
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959190#3959190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959190
19 years, 9 months
[JBoss jBPM] - GPD 3.0.11 and Eclipse 3.1.2
by cpob
Since I've been using GPD 3.0.9.2 with Eclipse 3.1.2, I wanted to run GPD 3.0.11 with the same Eclipse version.
I created a new folder with a fresh install of Eclipse 3.1.2 from the zip. I then downloaded the jbpm-gpd-feature-3.0.11.zip, and extracted it into the eclipse directory as I did previously.
Starting up Eclipse 3.1.2, there was no JBoss jBPM selection in the preferences to configure a jBPM runtime.
I then used the jBPM 3.1.2 starters' kit and use the ant task to extract eclipse and 'install' the GPD plugin. Exact same thing happened.
So I downloaded Eclipse 3.2, and did the ant install with that, and it works.
So, my fear is that the new GPD 3.0.11 does not work on Eclipse 3.1.2
Anyone have any other experiences with this?
Also, another side note about the GPD ant installer. It will attempt to download eclipse to install. However, if you already point your build.properties file to an existing .zip on your file system, it STILL tries to download Eclipse. There's no conditional file check to see if it already exists before a download (which would be easy as anything to fix)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959186#3959186
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959186
19 years, 9 months
[Management, JMX/JBoss] - Regarding MBean Exception
by sandipan.biswas@gmail.com
Hi when I am going to install jboss,this MBean exception is coming .can any one help me.I am giving the log
In jboss 4.0.2 it's comming like this 17/07/2006 01:06
09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp
09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/
09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/
09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml
09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)...
09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
09:20:16,284 DEBUG [Server] Failed to start
java.lang.RuntimeException: Cannot create MBeanServer
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:566)
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197)
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200)
... 8 more
Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean
at javax.management.modelmbean.ModelMBeanInfoSupport.get
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959185#3959185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959185
19 years, 9 months