[Hibernate-JIRA] Created: (HSEARCH-803) JGroups configuration error leading to parsing exception in JGroupsSlaveTest
by Emmanuel Bernard (JIRA)
JGroups configuration error leading to parsing exception in JGroupsSlaveTest
----------------------------------------------------------------------------
Key: HSEARCH-803
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-803
Project: Hibernate Search
Issue Type: Bug
Reporter: Emmanuel Bernard
Fix For: 4.0.0.Alpha1
org.hibernate.search.SearchException: org.jgroups.ChannelException: unable to setup the protocol stack
at org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.buildChannel(JGroupsBackendQueueProcessorFactory.java:132)
at org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.prepareJGroupsChannel(JGroupsBackendQueueProcessorFactory.java:90)
at org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.initialize(JGroupsBackendQueueProcessorFactory.java:80)
at org.hibernate.search.backend.impl.BatchedQueueingProcessor.<init>(BatchedQueueingProcessor.java:108)
at org.hibernate.search.backend.impl.TransactionalWorker.initialize(TransactionalWorker.java:93)
at org.hibernate.search.backend.impl.WorkerFactory.createWorker(WorkerFactory.java:69)
at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:278)
at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:125)
at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:87)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:295)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1720)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1756)
at org.hibernate.search.test.SearchTestCase.buildConfiguration(SearchTestCase.java:247)
at org.hibernate.search.test.SearchTestCase.setUp(SearchTestCase.java:116)
at org.hibernate.search.test.jgroups.slave.JGroupsSlaveTest.setUp(JGroupsSlaveTest.java:114)
at org.hibernate.search.test.SearchTestCase.runBare(SearchTestCase.java:424)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1728)
at org.jgroups.JChannel.<init>(JChannel.java:249)
at org.jgroups.JChannel.<init>(JChannel.java:201)
at org.hibernate.search.backend.impl.jgroups.JGroupsBackendQueueProcessorFactory.buildChannel(JGroupsBackendQueueProcessorFactory.java:128)
... 33 more
Caused by: java.lang.Exception: Property assignment of mcast_port in UDP with original property value and converted to null could not be assigned
at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1152)
at org.jgroups.stack.Configurator.createLayer(Configurator.java:444)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)
at org.jgroups.JChannel.init(JChannel.java:1725)
... 36 more
Caused by: java.lang.Exception: Conversion of mcast_port in UDP with original property value failed
at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:85)
at org.jgroups.stack.Configurator.resolveAndAssignField(Configurator.java:1146)
... 42 more
Caused by: java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:992)
at java.lang.Double.parseDouble(Double.java:510)
at org.jgroups.util.Util.readBytesInteger(Util.java:1752)
at org.jgroups.conf.PropertyConverters$Default.convert(PropertyConverters.java:173)
at org.jgroups.conf.PropertyHelper.getConvertedValue(PropertyHelper.java:82)
... 43 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[Hibernate-JIRA] Created: (HHH-6424) On Sybase ASE, avg() function returns a value in the type of the parameters
by Ren Junyan (JIRA)
On Sybase ASE, avg() function returns a value in the type of the parameters
---------------------------------------------------------------------------
Key: HHH-6424
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6424
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.6.0
Environment: Hibernate 3.6.6, Sybase ASE15.5, JDK 1.6, Windows XP
Reporter: Ren Junyan
Priority: Minor
JPA specification ask avg() should return Double.
In Reference Manual:
When you average (signed or unsigned) int, smallint, tinyint data, Adaptive Server returns the result as an int value.
But considering it as an ASE feature, it won't be fixed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[Hibernate-JIRA] Created: (HHH-6073) Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the
by Scott Marlow (JIRA)
Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the
--------------------------------------------------------------------------------------
Key: HHH-6073
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6073
Project: Hibernate Core
Issue Type: Task
Reporter: Scott Marlow
Priority: Blocker
Fix For: 4.0.0.Alpha2
We can no longer rely on TCCL because AS7 is following a modular class loading approach. The AS7 "org.hibernate" module isn't setup to access the JDBC classes. For creating dialects, could we instead use the classloader from the java.sql.Connection that is passed into the DialectFactory.
The following warning shows what we currently see with Hibernate 3.6.1 and the DerbyDialect (TCCL is null).
08:45:27,597 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-6) Using dialect: org.hibernate.dialect.DerbyDialect
08:45:27,603 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-2) Using dialect: org.hibernate.dialect.DerbyDialect
08:45:27,614 WARN [org.hibernate.dialect.DerbyDialect] (MSC service thread 1-6) Unable to load/access derby driver class sysinfo to check versions : java.lang.ClassNotFoundException: org.apache.derby.tools.sysinfo from [Module "org.hibernate:main" from local module loader @fee4648 (roots: /work/as7-dev/jboss-as/build/target/jboss-7.0.0.Beta2/modules)]
08:45:27,616 WARN [org.hibernate.dialect.DerbyDialect] (MSC service thread 1-2) Unable to load/access derby driver class sysinfo to check versions : java.lang.ClassNotFoundException: org.apache.derby.tools.sysinfo from [Module "org.hibernate:main" from local module loader @fee4648 (roots: /work/as7-dev/jboss-as/build/target/jboss-7.0.0.Beta2/modules)]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months