[JBoss Messaging] - Re: Traying to run Bridge service
by JA121
Hi,
I also have a little problem with starting the Message Brdige service...
According to the official guide, i had made my remote JMSProvider mbean in jms-ds.xml, and deployed my bridge-service.xml. Aftrer that i got the following exception:
| javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:910)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1152)
| at org.jboss.jms.server.bridge.Bridge.access$1500(Bridge.java:66)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1507)
| at java.lang.Thread.run(Unknown Source)
| Caused by: java.rmi.NoSuchObjectException: no such object in table
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:675)
| ... 9 more
|
|
What could be the reason of this, and how should i fix it?
Thx for the answer in advance.
JA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116460#4116460
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116460
18 years, 3 months
[JBoss jBPM] - Re: Making JBPM and Hibernate Work Together
by yairfr
i found part of the problem :
JBPM XML files were not mapped in the hibernate.cfg.xml file .
when i mapped them all i got this error :
|
| 2008-01-02 17:55:14,468 INFO [STDOUT] 17:55:14,452 ERROR [[/Total-e]] StandardWrapper.Throwable
| java.lang.NoClassDefFoundError: org/hibernate/hql/antlr/HqlBaseParser
| at java.lang.ClassLoader.defineClass1(Native Method)
| at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
| at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
| at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:241)
| at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:156)
| at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:110)
| at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
| at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
| at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
| at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:397)
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:348)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
|
i read that somehow it is connected to the
line in the config file , but i don't see why, since it seems it reads from this mapping :
| 2008-01-02 17:55:02,499 DEBUG [org.hibernate.cfg.Configuration] null<-org.dom4j.tree.DefaultAttribute@99146a [Attribute: name resource value "org/jbpm/db/hibernate.queries.hbm.xml"]
| 2008-01-02 17:55:02,499 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
| 2008-01-02 17:55:02,499 DEBUG [org.hibernate.util.DTDEntityResolver] trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
| 2008-01-02 17:55:02,499 DEBUG [org.hibernate.util.DTDEntityResolver] recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
| 2008-01-02 17:55:02,499 DEBUG [org.hibernate.util.DTDEntityResolver] located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
| 2008-01-02 17:55:02,531 DEBUG [org.hibernate.cfg.Mappings] Added string_max with class org.jbpm.db.hibernate.StringMax
| 2008-01-02 17:55:02,531 DEBUG [org.hibernate.cfg.HbmBinder] Named query: GraphSession.findLatestProcessDefinitionQuery ->
|
| select pd
| from org.jbpm.graph.def.ProcessDefinition as pd
| where pd.name = :name
| order by pd.version desc
|
|
| 2008-01-02 17:55:02,531 DEBUG [org.hibernate.cfg.HbmBinder] Named query: GraphSession.findProcessDefinitionByNameAndVersion ->
|
| select pd
| from org.jbpm.graph.def.ProcessDefinition as pd
| where pd.name = :name
| and pd.version = :version
|
|
| 2008-01-02 17:55:02,531 DEBUG [org.hibernate.cfg.HbmBinder] Named query:
|
so what is the problem ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116452#4116452
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116452
18 years, 3 months
[EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3
by sampatn
Hello Andrew,
In order to reproduce this error follow the following steps.
- create a simple Hello World stateless session bean
- copy helloworld.jar into server/default/deploy directory
- start the server using run.bat
- error is reproducible
- EJB3 are not successfully redeployed.
However, in order to successfully deploy follow these steps.
- delete helloworld.jar from server/default/deploy directory i.e.
make sure helloworld.jar does not exists in server/default/deploy directory
- start the server using run.bat
- server starts successfully
- Now copy the same helloworld.jar into server/default/deploy directory
- EJB is successfully deployed
- client can now access the EJB
If you want me to send you helloworld.jar for you to test at your end then please drop me an email. I will send you the same.
Nilesh
"ALRubinger" wrote : "ragavgomatam" wrote : Alright Andy do we have any clues here ?
|
| I'm best able to determine bugs if provided with a slimmed-down use case exhibiting the error in question. Would like to know how to duplicate:
|
| java.lang.NullPointerException
| | at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:452)
|
| I can't speak to the Spring Injection binding errors....
|
| This thread has gotten a bit convoluted from its initial intent. :) Let's separate out each individual error in its own topic? And if someone could provide easily-reproducible sample code for the NPE in the Timer Service, would be appreciated.
|
| S,
| ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116451#4116451
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116451
18 years, 3 months
[JBoss Seam] - convertEntity not working with a4j:support
by jrwsampson
I have a multi-select dropdown that I want to use with a4j:support. When I add Seam's convertEntity tag the selectManyListbox doesn't bind the selected items to the value, it returns an empty array every time. Without the convertEntity tag the AJAX call sends up an array of strings with the package name and the seam id, e.g.: com.namemedia.Advertiser@19b028.
Is there a workaround, or something I am missing? I am going to try writing a custom converter, but I am not sure what to do with the seam id... in other words how do i get the entities db id from the strings that get bound to the listbox?
| <h:outputLabel value="Please select one or more advertisers."><div />
| <h:selectManyListbox value="#{campaignSelector.selectedAdvertisers}">
| <s:selectItems value="#{campaignSelector.availableAdvertisers}" var="advertiser" label="#{advertiser.name}" />
| <a4j:support event="onchange" reRender="campaignSelector" />
| <s:convertEntity />
| </h:selectManyListbox>
| </h:outputLabel>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116444#4116444
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116444
18 years, 3 months