mircea.markus wrote :
| anonymous wrote : But the DummyTransactionManager says it synchronizes
in-memory only, so cache clients on two different machines wouldn't be sync'd.
| |
| what that means is that locks will be acquired on the node on which the tx
was initiated only. If you
So I suspect this is somewhat of an odd request...
I'm trying to implement OpenFire's clustering plugin using JBossCache. I can
implement their cache interface pretty easily, save for one method - getLock.
So OpenFire wants to manually acquire and release locks on cached objects.
Beyond
Interesting, thanks Markus.
So in order to use this I would need to
(1) begin a transaction
(2) write to, say, node '/a'
(2a) any other client that tries to read '/a' will block
(3) commit transaction
(3a) clients reading '/a' will be notified and continue
Does that sound accurate?
But the
-- Bump
I'm seeing this same problem; albeit for a slightly different reason. I'm
using SLF4J-log4j, which seems like it's attempting to set the priority.
Here's the relevant stacktrace bits:
| java.lang.IllegalAccessError: tried to access field
org.apache.log4j.Priority.level from
|
That definitely helped me find my problem. Apparently the JBossWS-native libs
were still in jboss-4-2-3.GA/lib/endorsed. I removed all of the jaxws_.jars
from that directory and it got me a little futher at least.
Then I battled my way through the forests of XML API versioning until I came
Thanks Alessio.
I found this documentation which I think you're referring to:
http://jbossws.jboss.org/mediawiki/index.php?title=JAX-WS_Client_Configuration
So, can I define my own jaxws-client-config.xml that will by default be used by
my WS client? Or do I have to call the
Ooh! I changed the JAX-WS and JAXB JARs to provided dependencies and it
looks like it's working now. Yipee!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4185154#4185154
Reply to the post :
Thanks Peter, I'll try that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184883#4184883
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184883
___
jboss-user mailing list
Alessio --
Thanks for getting back to me. I'm sure I don't have the JBossws JARs in my
EAR (that's why it can't find ProviderImpl).
I'll search my classpath to see where that javax.xml.ws.spi.Provider is being
looked up from. I'm afraid JBossWS-native might still be installed in the
Right, after looking a bit I am thinking the same thing -- the server simply
has a bug that prevents it from correctly handling chunked requests.
Unfortunately, the link you provided didn't seem to lead me to any solution as
far as JBossWS. I am providing the web service client but the
Hi, I have a client that causes a web service to throw a 500 error when it uses
JBossWS to make the service call. For some reason the same request succeeds
when Metro is used. I have WireShark captures of the failed and successful
requests, and there are only a few very minor differences that
It seems that my suspicions are right; when Transfer-Encoding: chunked is
used, I get the 500 error. So is there any way to make JBossWS _not_ stream
the request body?
The server appears to be WebLogic if it makes any difference...
Thanks again.
View the original post :
I've turned on classloader isolation and added all of the Metro JARs (jaxws-rt
and jaxb-impl and api JARs) but JBoss is still trying to look for the
jbossws-client JAR. Any ideas?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4182737#4182737
Reply to the
I'd like to see the HTTP stream for a WS client using JBossWS-native v3.0.3 on
JBossAS 4.2.3. I've found this thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=126403
which mentions a log4j.properties file in the JAR, but that kinda sucks when
I'm using Maven and don't really want
I have a default JBossAS 4.2.3 server on which I've installed JBossWS-Metro
3.0.3. I have an EAR which uses a web service client. When I try to invoke
the client I get this:
| java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.ws.core.jaxws.spi.ProviderImpl
|
Is there any way to get logging at the HTTP level? It looks like the server is
throwing a nasty exception and it's not even returning a valid SOAP response.
So it's not being parsed and I never get the log output. On top of that, the
service is over HTTPS so I can't use WireShark to watch
Anyone find a solution to this? I get the same thing on JBoss4.2.3. I tried
upgrading to the latest jbossws-metro on the server but it did not seem to help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181505#4181505
Reply to the post :
PeterJ wrote : This does not directly answer your question, but why are you
not using the provided scope.
|
In my case they are all transitive dependencies that need to be excluded. So
yes, I could add them as top level provided dependencies or add them as
'excludes' but it is a pain.
I am trying to create a simple web app built with Maven. Maven by default will
package all dependencies in the WAR, which causes classloader issues if those
libraries are also already in JBoss.
Ok, so I thought classloader isolation solved this problem, but apparently I'm
not understanding
Ok! I was actually able to convert the rpc/encoded WSDL to rpc/literal. So I
use my modified WSDL against the service rather than their rpc/encoded one. I
realized the response is valid rpc/literal, just with some added xsi:type
attributes.
First step: convert the WSDL:
Convert the
But you (and Axis1) could actually generate client stubs! Damn. I think there
is absolutely no Java WS framework that supports RPC/encoded services. I'm
pretty sure I've tried them all. What's worse, the difference in the message
seems almost trivial.
Maybe some XSL magic could help...
sagimann wrote : I'm having the same problem. did you solve this?
Unfortunately, no. I think there was an open issue related to this, with a fix
version of JBossAS 5.0. I guess updating JBossAS 4 with the latest JBossWS
JARs is not enough.
I had to go the traditional route and do a JNDI
I hate to bump this but I was really hoping for some help since JBossWS seemed
to be the only toolkit that was getting me anywhere with this old RPC/encoded
service. Most of the other Java WS frameworks wouldn't even generate the
client stub classes from the WSDL.
I'd be happy to give more
I am trying to consume a 3rd party web service. When JBossWS parses the
response, an ArrayIndexOutOfBoundsException is thrown from the JBoss XML
binding code. I have generated stubs using the wstools command.
I'm guessing this is a bug? I would love to help debug it but I'm kinda lost..
[EMAIL PROTECTED] wrote : The soap message you wrote is using rpc/encoded
style. This is not supported anymore since a lot of time, because it has been
disallowed by WS-I Basic Profile.
Can anyone give a hint on what can be done to consume a RPC/encoded web
service? Unfortunately I'm writing
Hi, does the @WebServiceRef annotation work for JAX-RPC services?
I can retrieve and use a service from the InitalContext (so I know it works)
but I was hoping to get rid of the JNDI lookup. However if I use
@WebServiceRef I just get a NullPointerException. Do I have to do anything
fancy in
[EMAIL PROTECTED] wrote : We don't support soap encoding. We recommend using
our tool, but if you prefer to stick with wscompile thats fine. Just make sure
you are using rpcliteral or documentliteral.
|
| -Jason
Hi Jason -- sorry to resurrect an old thread but I'm seeing a similar problem.
Finally figured out the answer.
Put something like the following in portlet.xml:
| portlet-preferences
| preference
| nameexpires/name
| value180/value
| /preference
| preference
| nameRssXml/name
|
tomstrummer wrote : I see; when I go to the instances tab, a few have a
preferences link, but most of the others do not.
|
| Namely, I'm using the iframe portlet, which definitely uses the portlet
preferences API. But there is no preferences link in the admin portlet for any
of the iframe
I see; when I go to the instances tab, a few have a preferences link, but most
of the others do not.
Namely, I'm using the iframe portlet, which definitely uses the portlet
preferences API. But there is no preferences link in the admin portlet for any
of the iframe instances I've created.
Scriptaculous has this handy built-in thing where it will automatically load
its sub-modules (like effects.js) when you include the base scriptaculous.js.
See http://wiki.script.aculo.us/scriptaculous/show/Usage.Unfortunately
people don't realize this and add script tags for them anyway;
Done: http://jira.jboss.com/jira/browse/JBPORTAL-1965
I would have provided a patch except I couldn't find where that markup is
written from.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139036#4139036
Reply to the post :
I don't know about the demo but I was able to get DWR 2 and 3 running in a
portlet.
Assuming the dwr definition is packaged in your portlet (called 'myPortlet')
First, go to /myPortlet/dwr/ and verify the debug pages display and the remote
methods and DTOs look correct.
Then in my portlet's
So if I created a portlet instance via the management portlet there's
absolutely no way to assign 'default preferences' for non-logged-in users?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4139096#4139096
Reply to the post :
Right... So can I access the portlet instance level preferences through the
management portlet? Or do I have to edit a portlet-instances.xml file?
Because normally that file won't have a record of instances I've created
through the management applet, right?
Thanks.
View the original post :
Yes, I've used the portlet bridge 2.0.0-beta1 and Seam 2.1.0.A1 and got it to
work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138827#4138827
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138827
I expect Seam to re-initialize the value when it goes out of scope.
How does Seam know when a context variable goes out of scope? If Seam sees a
@Out variable go out of scope, then it sees the bijected field with no
factory... It should just ignore it and leave whatever value happened to be
I followed the instructions posted here:
http://blog.jboss-portal.org/2007/11/seam-20-portlet-example.html
The only difference being I configured JBoss Portal to use HSQL instead of
MySQL.
Here is my stack trace:
| java.lang.IllegalArgumentException: Cant create Lifecycle for id:
Hi Pete -- thanks for your reply.
[EMAIL PROTECTED] wrote : 1) If you have an @Stateless bean it can't have any
fields on it. read about what @Stateless *really* means (this probably explains
your values changing)
I understand that I can't keep state in my SLSB, but I thought the point was
I am seeing very odd behavior where the value of an outjected boolean changes
in the middle of a template, but no assignment was done. I think it has to do
with how it is scoped.
Expected/ Intended Behavior:
The value, newPortfolioForm is toggled based on whether or not a form should be
christian.douven wrote : Did you try @IN(required=false, create= true)?
Actually, this seems to be it. I had to use create=true _and_ have the field
name match the Seam name.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116446#4116446
Reply to
I've narrowed this down as much as possible... Basically I have an @Factory
method in stateless action bean. When I hit the page, I get:
| In attribute requires non-null value: test.entity
|
The same happens if the action is a stateful SB.
Here is a simple example which duplicates the
[EMAIL PROTECTED] wrote : Seam injects by variable name, not by type so try
@In TestEntity testEntity;
Hmm nope, sorry that did not help. Same error. Here is the updated code snice
I realized I had a typo in my template as well:
TestImpl.java
| import java.util.ArrayList;
| import
I should also mention this is on Seam 2.0.0CR1 and JBoss AS 4.2.1 GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4114767#4114767
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114767
[EMAIL PROTECTED] wrote : You don't want the @DataModel and the @Factory
outjecting to the same context variable either. Post the exception and stack
trace you are getting.
The idea was that the factory should be populating that DataModel. I'm
following the example given in Beginning JBoss
[EMAIL PROTECTED] wrote : The signature of
|
| public ListTestEntity initSomething() {
|
| and
|
| @Factory(houses) public void findHomes() {
|
| is different.
|
| Post the code for deploymentManager then...
If I understand the documentation of @Factory, the method can
amorfis wrote : As far as I understand this, exception is thrown because
testEntity is not initialized. I don't see any relation to @Factory here.
@In is supposed to do the initialization! That's what dependency injection
is.. Right?
As I said, if @Factory is not there, the
47 matches
Mail list logo