-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to setup a tomcat6 server, and I'm trying to match another setup someone else established. However, my deployment (default Ubuntu install) uses a policy.d/ directory structure, and the established server just uses a catalina.policy file. I've tried setting every entry in policy.d to match…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am not able to create a Queue connection in JBOSS4.2.3GA Version & Java1.5, as I am using MDB as per the below details.
I am putting this MDB in a jar file(named utsJar.jar) and copied it in deploy folder of JBOSS, In the test env. this MDB works well
but in another env. [ env settings and…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am using Postgres and gwt 2.0 for one of my applications. I am facing problem connecting to the database. When I try to connect it gives "ClassNotFoundException". Here is what I get when I try to connect to database:
java.lang.ClassNotFoundException: org.postgresql.Driver
at java.net…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
For i am using postgre and gwt 2.0 for one of my applications. I am facing problem connecting to the database. When i try to connect it gives "ClassNotFoundException". Here is what i get when i try to connect to database:
java.lang.ClassNotFoundException: org.postgresql.Driver
at java.net…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I'm trying to migrate an application running on JBoss 4.2.2.GA to JBoss 6.0.0.M2
I give you some log to explain my problem :
boot.log :
2010-03-16 09:59:29,406 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (Thread-2) Failed to load profile: Summary of incomplete deployments…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm intialising a HashSet like so in my program:
Set<String> namesFilter = new HashSet<String>();
Is this functionally any different if I initilise like so?
HashSet<String> namesFilter = new HashSet<String>();
I've read this about the collections interface, and I understand…
>>> More
-
as seen on Johnny Coder
- Search for 'Johnny Coder'
I hadn’t done much (read: anything) with the C# generic HashSet until I recently needed to produce a distinct collection. As it turns out, HashSet<T> was the perfect tool.
As the following snippet demonstrates, this collection type offers a lot:
// Using HashSet<T>:
// http://www…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Why does Java not provide functions to get at the key/value pairs in a HashSet like in Hashtable? It seems like a real pain to have to iterate over it every time you need to get at something. Or am I just a newb missing something?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've got a HashSet with a bunch of (you guessed it) integers in it. I want to turn it into an array, but calling
hashset.toArray();
returns an array of Object type. This is fine, but is there a better way to cast it to an array of int, other than iterating through every element manually? A method…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Once again we consider some of the lesser known classes and keywords of C#. Today we will be looking at two set implementations in the System.Collections.Generic namespace: HashSet<T> and SortedSet<T>. Even though most people think of sets as mathematical constructs, they are actually…
>>> More