[Persistence, JBoss/CMP, Hibernate, Database] - Unabled to enlist resource Jboss 4.2 CR2
by swjackson
I just upgraded from jboss-4.0.5.GA. I am now getting an issue which could related to the new binding -b option on startup.
When trying to obtain a database connection to Sybase ASE I get the following Exception below.
The extra arg1 is my machine name but jboss is adding an incorrect domain and I don't know where it is getting that information. How can I prevent jboss vrom adding on the machine.domain to the connection request?
This exception originates from Sybase due to the following issue
SQL Warning
java.sql.SQLWarning: 010HT: Hostname property truncated, maximum length is 30:
Also found an internal error: Could not find argument marker in error message.
This does not affect normal operation of the application, but Sybase Technical Support should be made aware of this error.
[extra arg1:mymachine.domain]
org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: a2d8b2f:bcb1:463b5c6a:42 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: a2d8b2f:bcb1:463b5c6a:42 status: ActionStatus.ABORT_ONLY >))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043273#4043273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043273
19 years
[JBoss Seam] - Re: While Seam is great, is any weakness of this framework?
by Delphi's Ghost
anonymous wrote :
| All the plugins that make up rhds will be available free on an eclipse update site - so for home dev you maynot even need a license
|
It's a question of this whole RHDS vs the community version which hasn't fully been explained clearly. From my last take on it, from a thread on TheServerSide, it sounded like the freely available one was just a collection of plugins and it was up to me to get it all working together. Whereas the the RHDS was a fully tested, everything works together set of plugins, just download and start programming. Otherwise, why pay for it, when the same thing is available for free (minus the support).
Either way, I can't wait to see it, and it's probably still cheaper than the Borland Delphi upgrades I paid for year after year.
anonymous wrote :
| It's starred in my gmail for when I have a minute.
|
Thanks, I have the switcher working now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043269#4043269
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043269
19 years
[JBoss jBPM] - Seeing these errors - something to worry about?
by ldimaggi@redhat.com
I'm running with jbpm-jpdl-3.2.GA and just noticed a set series of server log errors - I was just deploying a simple test app and then using the web console to start/view the process.
Does this look like a serious problem - can anyone suggest what's going on here?
Thanks!
11:28:16,256 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
com.sun.faces.DefaultLifecycle => true
com.sun.faces.ExternalContextImpl => com.sun.faces.context.ExternalContextImpl@92b7c2
com.sun.faces.FacesContextImpl => com.sun.faces.context.FacesContextImpl@5e25f3
javax.servlet.forward.context_path => /jbpm-console
javax.servlet.forward.request_uri => /jbpm-console/search/processes.jsf
javax.servlet.forward.servlet_path => /search/processes.jsf
com.sun.faces.DefaultLifecycle => true
com.sun.faces.ExternalContextImpl => com.sun.faces.context.ExternalContextImpl@92b7c2
com.sun.faces.FacesContextImpl => com.sun.faces.context.FacesContextImpl@5e25f3
com.sun.faces.INVOCATION_PATH => .jsf
com.sun.faces.managedBeanStack => []
com.sun.faces.renderKitImplForRequest => com.sun.faces.renderkit.RenderKitFactoryImpl@504f3c
currentViewId => /common/login.xhtml
javax.servlet.forward.context_path => /jbpm-console
javax.servlet.forward.request_uri => /jbpm-console/search/processes.jsf
javax.servlet.forward.servlet_path => /search/processes.jsf
jbpmBean => org.jbpm.webapp.bean.JbpmBean@820a0c
11:28:16,844 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/opt/jBPM/jbpm-jpdl-3.2.GA/server/server/jbpm/tmp/deploy/tmp33219jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
11:28:16,852 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/opt/jBPM/jbpm-jpdl-3.2.GA/server/server/jbpm/tmp/deploy/tmp33219jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
11:28:16,887 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/opt/jBPM/jbpm-jpdl-3.2.GA/server/server/jbpm/tmp/deploy/tmp33219jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
11:28:16,927 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/opt/jBPM/jbpm-jpdl-3.2.GA/server/server/jbpm/tmp/deploy/tmp33219jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
11:28:16,934 ERROR [STDERR] May 4, 2007 11:28:16 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/opt/jBPM/jbpm-jpdl-3.2.GA/server/server/jbpm/tmp/deploy/tmp33219jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
com.sun.faces.DefaultLifecycle => true
com.sun.faces.ExternalContextImpl => com.sun.faces.context.ExternalContextImpl@1509443
com.sun.faces.FacesContextImpl => com.sun.faces.context.FacesContextImpl@135c7b0
com.sun.faces.DefaultLifecycle => true
com.sun.faces.ExternalContextImpl => com.sun.faces.context.ExternalContextImpl@1509443
com.sun.faces.FacesContextImpl => com.sun.faces.context.FacesContextImpl@135c7b0
com.sun.faces.INVOCATION_PATH => .jsf
com.sun.faces.managedBeanStack => []
com.sun.faces.renderKitImplForRequest => com.sun.faces.renderkit.RenderKitFactoryImpl@504f3c
currentViewId => /search/processes.xhtml
jbpmBean => org.jbpm.webapp.bean.JbpmBean@1c931fb
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043268#4043268
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043268
19 years
[JBoss Seam] - Re: Pageflow Question & Switcher Issue
by Delphi's Ghost
Hey, thanks for the reply,
anonymous wrote :
| Yes, I think this is correct. I need to think about it tho.
|
Ok, my only thought was that nested=true would result in a new nested conversation on each render, and join = false results in errors on each render, so if it was by design, it would make those two attributes irrelevant on the <begin-conversation> tag.
Wonder what happens if you put join=true and nested=true?
anonymous wrote :
| You need to put the description element on the page element in the pageflow, not in pages.xml.
|
Thanks, it works perfectly. It's always the little things that trip me up, and looking again, I see it talks about it in the reference guide. I can't believe I missed it, although it doesn't say you have to define it in the page flow, only that it lets you put a description per page.
Thanks again,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043263#4043263
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043263
19 years