I wish I had left a better response to this since it was awhile back and I don't remember the exact cause of my problem. I just went back and checked the code from this time and the import I ended...
Type: Posts; User: MonkeyKnifeFight; Keyword(s):
I wish I had left a better response to this since it was awhile back and I don't remember the exact cause of my problem. I just went back and checked the code from this time and the import I ended...
Hey so this is a pretty weird issue I'm having. Fundamentally what I want to do is inject my own BlockingQueue implementation into another bean. This seems simple enough but when I try to do that I...
Just to provide an update using the host name instead of the IP seemed to help. I was at least able to connect. Then I was getting an EOFException that seems like it was caused by me removing the...
Right now I'm trying to connect to a non-default vhost. Are you saying I should leave off the '/'? Like:
<property name="virtualHost" value="vhost" />
For the host I am connecting to a...
Yeah I can see how that would be helpful ;)
Full trace is:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name...
Hey guys this is a totally bizarre problem but I'm at my wits end trying to debug it so I thought I'd see if anyone has seen this issue. Basically I have connected to my RabbitMQ instance in many...
Hey folks. I have a problem that I am running into with using a property placeholder that is causing XML validation of my context file to fail. What I want to do is something like this:
...
Hey folks,
My situation is this. The project I am building runs using an embedded Jetty container. I load Jetty and Spring and everything via a 'main' method that does some bootstrap stuff to...
Well that at least narrows it down. What if you drop the war in the hot deploy folder once the server is up? Do you only get the error you already showed above? I just think there must be some...
Hmm I'm not familiar with the error but I've never had to explicitly set the BundleContext anywhere so that might be a red herring.
If you pull the problem jar out and start the app does...
Just to make sure I don't confuse anyone it turned out the classpath wildcard stuff I was using was correct. It was a different issue causing my NPE.
And if you check earlier in the logs you don't see any more helpful errors? Are you consuming this service from any other bundles that are working or is this the first attempt to grab it?
I'm...
Hmm from the Javadocs:
Class has no public constructor. Instead Class objects are constructed automatically by the Java Virtual Machine as classes are loaded and by calls to the defineClass...
1. Is your applicationContext in the default location? That is META-INF/spring/applicationContext.xml
The only other thing is for my app I also registered a listener of type:
import...
I'm not sure if I'm mjissing something in your example. I see your reference to an OSGi service:
<osgi:reference id="serviceImpl" filter="(ServiceProvider=ShijuSoft)"...
I've never tried it before but I would expect it to work like normal:
<bean name="someClass" class="java.lang.Class" />
Do you get an error when you try that?
Chris
Any ideas on this? Is this generally the best practice for referencing external spring contexts when implementing Spring beans in a central Jar?
Hi,
My issue is this. I want to define some beans in a central jar to be used by several other projects in my app. Normally I'd use OSGi and Spring DM to do this quite easily but unfortunately...
Thanks for the links. I've been trying to use Glassfish since the new version runs in OSGi but I keep running into situations where my life would be easier if I was just using Spring DM server. ...
Hey folks I'll start with the usual disclaimer. If this topic has been covered somewhere else already let me know. I've done some searching and haven't found anything.
My issue is this. I've...
You can use JFreeChart to create gifs or jpegs or whatever you want and save them in some temp folder on the server. Then display them like you would display any image:
<img src=... />
I never got it to work. I just ended up using JFreeChart to create the charts as static images. You could also use JFreeChart and create the charts on the fly and store them as some sort of...
I didn't figure out a way around that particular problem. It just doesn't seem like AbstractWizardFormController is meant for that type of thing. I changed my implementation to use Spring Webflow...
Well i've kept trying to figure out what's going on. It turns out the method itself is not the problem. The FormObject is what's causing the problems. I call a method and pass the form object into...
I have only been able to try running it on my local development machine so far. It's quite strange. One method that used to give me issues now works fine. While another new method in the Webflow...