-
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 have a BlockingQueue that's being used in a producer-consumer situation. I would like to decorate this queue so that every object that's taken from it is logged. I know what the straightforward implementation would look like: simply implement BlockingQueue and accept a BlockingQueue in the constructor…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've been using this code as a queue that blocks on Dequeue() until an element is enqueued. I've used this code for a few years now in several projects, all with no issues... until now. I'm seeing a deadlock in some code I'm writing now, and in investigating the problem, my 'eye of suspicion' has…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a thread, that processes incomming messages (endless loop). For this, I use a BlockingQueue (Java), which works as quite nice. Now, I want to add a second processor in the same Class oder method. The problem now is, that in the endless loop i have this part
newIncomming = this.incommingProcessing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Suppose that I've queued a work item in a ThreadPool, but the work item blocks if there is no data to process (reading from a BlockingQueue). If the queue is empty and there will be no more work going into the queue, then I must call the Thread.Interrupt method if I want to interrupt the blocking…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a multithreaded program and I have a method that has a nested synchronized blocks and I was wondering if I need the inner sync or if just the outer sync is good enough.
public class Tester {
private BlockingQueue<Ticket> q = new LinkedBlockingQueue<>();
private ArrayList<Long>…
>>> More