[JBoss Cache: Core Edition] - Re: 2.2 to 3.0CR2
by lovelyliatroim
anonymous wrote :
| I'm guessing you just forgot to paste those in here?
|
Yes just gave the essential bits needed. Have so much config in there its not worth posting the whole lot ;)
anonymous wrote :
| Fixed the main issue, which is essentially a missing null check. JBCACHE-1431.
|
I assume that fixes the issue with the cacheloader and not why it parses the 3.0.x format config file with a 2.x XML Parser?
Just regarding the comments in the ticket
anonymous wrote :
| Cache loader interceptor should not attempt to load node data if node does not exist
|
Havent checked out and built it yet but the headline is misleading for me in this case, in sample test case the node exists, the node is not null or maybe the heading of the ticket is misleading. As i said i havent checked out or tested it. Willdo so tomorrow and let you know how it goes.
anonymous wrote :
| Oh, and thanks for reporting! :-)
|
No problem, any idea of when a final release will be made? Evaluating my apps test cases with 3.0.X version, have to end of the week to make final decision on to step up or not but are you running on schedule for next weeks GA release ;) ??
Cheers,
LL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185489#4185489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185489
17 years, 6 months
[JBossWS] - WS client libraries from Maven frustration
by espinosa_cz
Can someone reveal set of necessary library set for a standalone web service client? A set of libraries from Maven repository? JBoss Maven repository?
I decided to use JBoss WS client implementation because there is a possibility that my standalone client will be soon integrated to our enterprise application running on JBoss.
Because all our projects are Maven based, and despite I am not a huge Maven fan, I respect Maven as a de-facto standard for Java project management; I would like to use only libraries provided by Maven repositories. JBoss provides its own Maven repository that sounds promising. But at this point all fun ends. This requirement seems to be impossible to fulfill.
For Eclipse project I use these libraries with success:
<classpathentry kind="var" path="JBOSS_HOME/client/jbossws-spi.jar"/>
| <classpathentry kind="var" path="JBOSS_HOME/client/jaxb-api.jar" />
| <classpathentry kind="var" path="JBOSS_HOME/client/jboss-jaxws.jar"/>
| <classpathentry kind="var" path="JBOSS_HOME/client/jbossws-client.jar"/>
| <classpathentry kind="var" path="JBOSS_HOME/client/jbossall-client.jar"/>
| <classpathentry kind="var" path="JBOSS_HOME/client/jboss-saaj.jar"/>
| <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar"/>
I got close with Maven by:
| <dependency>
| <groupId>org.jboss.ws.native</groupId>
| <artifactId>jbossws-native-client</artifactId>
| <version>3.0.4.GA</version>
| </dependency>
|
This add 13MB of dependent libraries to my single Jar application. It is quite a lot for a simple client, isn'ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂt it? Anyway, at least it had compiled my source but test phase failed with:
java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider:
| org.jboss.ws.core.jaxws.spi.ProviderImpl
| Caused by: java.lang.NoClassDefFoundError:
| org/jboss/util/NotImplementedException
I tried several other combinations, with aim to get close to JBoss 4.2.2 GA client libraries as possible (pom.xml):
<dependency>
| <groupId>jboss</groupId>
| <artifactId>jbossws-spi</artifactId>
| <version>1.0.0.GA</version>
| </dependency>
| <!-- JBoss 4.2.2/jbossws-spi.jar : Implementation-Version:
| jbossws-1.0.0.GA (build=200708171551) -->
|
| <dependency>
| <groupId>javax.xml.bind</groupId>
| <artifactId>jaxb-api</artifactId>
| <version>2.1</version>
| </dependency>
|
| <dependency>
| <groupId>org.jboss</groupId>
| <artifactId>jboss-jaxws</artifactId>
| <version>2.0.1.SP2</version>
| </dependency>
| <!-- JBoss 4.2.2/jbossws-jaxws.jar : Implementation-Version:
| jbossws-native-2.0.1.SP2 (build=200710210837) -->
|
| <dependency>
| <groupId>org.jboss</groupId>
| <artifactId>jbossws-client</artifactId>
| <version>2.0.1.SP2</version>
| </dependency>
| <!-- JBoss 4.2.2/jbossws-client.jar: Implementation-Version:
| jbossws-native-2.0.1.SP2 (build=200710210837 -->
|
| <dependency>
| <groupId>jboss</groupId>
| <artifactId>jbossall-client</artifactId>
| <version>4.2.2.GA</version>
| </dependency>
| <!-- JBoss 4.2.2/jbossall-client: Implementation-Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) -->
|
| <dependency>
| <groupId>jboss.jbossws</groupId>
| <artifactId>jboss-saaj</artifactId>
| <version>2.0.3.GA</version>
| </dependency>
| <!-- JBoss 4.2.2/jboss-saaj : Implementation-Version: jbossws-native-2.0.1.SP2 (build=200710210837) -->
|
| <dependency>
| <groupId>xerces</groupId>
| <artifactId>xercesImpl</artifactId>
| <version>2.7.1</version>
| </dependency>
|
..but I ended with the same error message.
If I add jbossws-common dependency:
| <!-- added to supply org.jboss.util.NotImplementedException -->
| <dependency>
| <groupId>org.jboss.ws</groupId>
| <artifactId>jbossws-common</artifactId>
| <version>1.0.0.GA</version>
| <scope>compile</scope>
| </dependency>
| <!--
| JBoss 4.2.2/jbossws-common: Implementation-Version: jbossws-native-2.0.1.SP2 (build=200710210837)
| But what vesion of jbossws-common? In repository there are versions from 1.0.0.GA to 1.0.7.GA. What version is really in JBoss 4.2.2.GA??
| -->
|
I got:
java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/TypeMappingRegistry
Well, you can add new libs for ever; it is hard to figure out which version of which library fits together :(
I use standard Maven repository and JBoss repository http://repository.jboss.org/maven2/.
Why there is not a copy of JBoss libraries for all released version in the repository? Is it impossible to have something like http://repository.jboss.com/maven2/org/jboss-4.2.2.GA/client? License issues? Lack of hard-drive space?
Thank you for any suggestions or comments
Espinosa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185481#4185481
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185481
17 years, 6 months
[JNDI/Naming/Network] - Re: JNDI/JDBC Error
by vitechinc2008
Thanks.....That helped a lot.
Now I am getting the following errror: Thank you for your help. I appreciate it.
3372036854775807
2008-10-29 13:06:46,547 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1225300456547, new ne
xt: 1225300456547
2008-10-29 13:06:46,561 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2008-10-29 13:06:46,561 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2008-10-29 13:06:46,561 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2008-10-29 13:06:46,558 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong drive
r class specified for URL: class: oracle.jdbc.driver.OracleDriver, url: jdbc:oracle:thin:@172.24.40.132:1521:SAGWEBDV)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:190)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:264)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
at org.springframework.orm.hibernate.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:77)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1156)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:790)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:540)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:474)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185477#4185477
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185477
17 years, 6 months