There this a workaround
Merge in the two application-policies to one with two login-modules
But why the constrain?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141181#4141181
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
Hi All,
I have two SLSB in a jar each with different security Domain setting and rules
I use annotations (jboss4.2.2 , jbossws2.0.3)
| @Stateless
| //@WebService
| @SecurityDomain("domain1")
| @RolesAllowed({rule1})
| public calss
|
this works fine.
When I add web the @WebS
anyone ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125883#4125883
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125883
___
jboss-user mailing list
jboss-user@lists.jboss
Hi,
jboss4.2.2 jbosscache1.4.1sp5 jvm 1.6
Only When I add
rem set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=18004
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
ideas?
View the original post :
I was able to narrow it down to the components :jboss-web.deployer and
jboss-web-cluster.sar from the All server.
If I replace them with jboss-web.deployer from DEFAULT server it works fine
Ideas? :-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124264#41
thank you for your replay
I'm trying to check the ClassLoading issue...
If I run the DEFAULT server with additional JGroup.jar from ALL in works find
but when I try to run it on the ALL server I get this problem
Ideas? :-(
View the original post :
http://www.jboss.com/index.html?module=bb&
Ok,
So I guest I'm missing something simple here.
Can you give me a hint?
Any one?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123764#4123764
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123764
__
Small clarification :
this happen regardless to any cache action (putObject).
It just due to the fact that I run apoc in the post compile .
If I do not do post compile weaving it will run just fine
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122904#4122904
Hi,
I want to switch from jboss4.0.4(jdk1.5) with jbossCache 1.4.0.SP1
To jboss4.2.2(jdk1.5) (jbossCache 1.4.0.SP5)
With the same code
I use POJO-Cache and I do Post compile waving with ant aopc
| package com.test;
| import org.jboss.cache.aop.annotation.PojoCacheable;
| import java.io.Se
Thanks , its works
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068520#4068520
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068520
___
jboss-user mailing list
jboss-use
Hi,
I have the following pojos and SLSB
|
| public class UserBase implements Serializable{
|
| private String id;
| private String name;
|
| }
| public class User extends UserBase implements Serializable{
|
| private String password;
|
| }
|
| pu
nothing ? :-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015639#4015639
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015639
___
jboss-user mailing list
jboss-user@lists.
its is not a "bit poor" , inconsistent cache behavior is a big bug.
you can start by removing the use of Integer object from the document.
this pitfall is confusing at best
also , what about performance?
When I put my user hat(not design hat) I think IMHO that the FQN API should be
String only
thanks for your reply ,
but if I understand you correctlly ,It more a bug the a feature issue .
Since if I choose persistancy in my configuration ,I should not need to change
the code
anonymous wrote :
| from the documentation
|
| String n1 = "/300/322649";
| Fqn n2 = new Fqn(new Obj
Hi,
So, JBoss 1.4.1. Cache 1.4.1sp1 with fileCacheLoader
When I do the following
| final static Fqn TEST = Fqn.fromString("/test/kuku");
| int id = 555'
|
| putObject("/test/kuku/+id, myObject);
|
| ...
|
|Map aMap = findObjects("/test/kuku");
|Set aSet
the topic
http://jboss.org/index.html?module=bb&op=viewtopic&t=100342
Is I think an example of the same problem
Ideas?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009477#4009477
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
This causes strange behavior
I a have an object kuku that holds an JDK5.0 Enum
when I use HashMap to hold kuku objects
after I remove from the cached HashMap a kuku object ,
the size of the map stays the same and values() will return a also the
removed kuku object as null
when I use T
Enums don't work when I load them back using a File cache loader.
This bug is fixed for 2.0
http://jira.jboss.com/jira/browse/JBCACHE-619
in the topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71311&view=previous
A work around is mentioned ,I do not fully understand.
Is there
Can you test it within JBoss and not as a standalone?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006690#4006690
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006690
___
j
It did not reoccurred on a standalone
bottom line
removeObject(Fqn) - bad behavior
remove(Fqn)- works ok
also can you explain what interface API should be used ? PojoCacheIfc or
PojoCacheMBean ? since PojoCacheIfc does not have exists(Fqn)
View the original post :
http://www.jboss.com/index.
It did not reoccurred on a standalone
bottom line
removeObject(Fqn) - bad behavior
remove(Fqn)- works ok
also can you explain what interface API should be used ? PojoCacheIfc or
PojoCacheMBean ? since PojoCacheIfc does not have exists(Fqn)
View the original post :
http://www.jboss.com/index.
this is taken from Interface PojoCacheIfc doc API
anonymous wrote : Interface for PojoCache. User should use this interface
directly to access the public APIs.
please explain what am I missing?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002667#4002667
R
Was it something I said?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001861#4001861
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001861
___
jboss-user mailing list
jboss
New Discovery!!
I tried the new version 1.4.1GA and it still the folder used by the FileCache
was not fully remove
up till now I was using the JBoss cache object as follow
| static PojoCacheIfc myCache;
|
| //locate te jboss-cache service
|
| MBeanServer server = MBean
sorry. I do not have a Junit Test case
I double checked the code I send. It happening
A complicated Object is an object that holds a Map of object that also hold Maps
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999441#3999441
Reply to the post :
http://ww
Were you able to duplicate it?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999346#3999346
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999346
___
jboss-user mail
I lost you there.
I did the same test on 1.4.0.SP1 and 1.4.1.CR1
I have a MBean with tree methods one creates on the cache the object
TestData.The second removes the object. and getObject
The scenario is simple , I create and when remove (no restart this time)
With 1.4.0.SP1 there is no "l
I'm not sure your meaning by anonymous wrote : removeObject operation
sequence
but the scenario is simple,I use MBean is invoke the following calls
first invocation : setTest(44, testData )
second invocation : getTest(44)
and thread invocation : delTest(44)
with version 1.4.0.S
with the same code from
http://jboss.org/index.html?module=bb&op=viewtopic&t=96896
I added a method to remove form the cache
| public static TestData delTest(Integer sipID) {
|
| return o = (TestData) myCache.removeObject(new Fqn(TEST,sipID));
|
| }
|
the Object i
I've opened a bug request
http://jira.jboss.com/jira/browse/JBCACHE-909
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995246#3995246
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995246
__
where and and how do I open a JIRA?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994727#3994727
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994727
___
jboss-user mailing
I'm using POJO cache
this is a test code
| @PojoCacheable
| public class TestData implements Serializable {
| Map kukuMap = new
HashMap();
| String myStr;
| int myInt;
| public TestData() { }
| public TestData(String myStr, int myInt) {
| this.myS
I tried using -Djgroups.marshalling.compatible=true on jgroups 2.4rc2
but it did not work
is it on the latest build only?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977427#3977427
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
I have the same problem
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969200#3969200
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969200
___
jboss-user mailing list
jboss-u
I'm working with JBossws 1.0.2 and axis 1.4 and when I'm tring to call function
with no parameters I have no problems but if the function has parameters I get
the following error:
12:16:07,074 ERROR [http-0.0.0.0-8080-2] [ws.jaxrpc.SOAPFaultExceptionHelper]
SOAP request exception
javax.xml.rpc.
I would very must like that ,
it looks like the transaction problem .
could you point me to a document , URL something ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967849#3967849
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
after I run in to a dead-end(for now) with compile-time instrumentation /
Weaving
http://jboss.org/index.html?module=bb&op=viewtopic&t=89412
I tried load-time instrumentation / Weaving
(using jboss4.0.4sp1, jbosscache1.4sp1 javassist.3.3 1.5jdk 1.5 annotations)
I'm also having problems.
The implementation states in its Javadoc:
@return 0 when equal, 1 if oid2 > oid1 and -1 if oid1>oid2
However, the implementation is wrong in its code:
int res;
int nd1 = countDots(oid1);
int nd2 = countDots(oid2);
res = nd1 - nd2;
if (res != 0) // different number of dots -> no
Ok, thanks
let use list and let the pojo cache handle thread issues.
did that and tried to run in a compile-time weaving mode
I run in to my next problem
http://jboss.org/index.html?module=bb&op=viewtopic&p=3967740#3967740
View the original post :
http://www.jboss.com/index.html?module=bb&
Take a complex data object , use it with pojo cache 1.4sp1, 1.5 annotation.
and javassist 3.3
if I do not you compile-time weaving nor run-time weaving
I get it to partially work , since parts of the complex data object are not
instrumented .
when I use compile-time weaving the the TX manage
Hi,
here's the deal
I have a data object that contains a synchronizedList
I run it with jdk1.5, JBoss 4.0.4p1, cache 1.4sp1, annotation 1.5 and javassist
3.3
for example
| ..
| private List playList = Collections.synchronizedList((new
ArrayList ()));
| ..
|
the result is
|
this is my code
| @WebService(name = "kukuEnd", serviceName = "kukuTest")
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
|
|
| //@Stateless
|
| public class MyKuku implements IMyRemoteKuku {
| @WebMethod
| public int getInt() {
| return 0;
|
I've been over the documents and got some bits and pieces
if I want to have Load time and not precompiled instrumentation
1. In the jboss-aop-jdk50.deployer\META-INF\jboss-service.xml ,
set the EnableLoadtimeWeaving to true .
2. In the command line the following args
-Djboss.aop.path=${o
So, I'm using JBoss 4.0.4 with JBoss cache 1.4 on JVM 1.5
I using the Address class from the tutorial.
|
| PojoCacheMBean myCache;
|
| Address address = new adddress()
| myCache.putObject("123",address );
|
|
and the error is .
anonymous wrote :
| ...
| jboss.cac
I'm using JBoss 4.0.4 with cache 1.4 in a cluster in JVM 1.5
I use the sample code a Course.java and us it as is with JDK5.0 field level
annotations
|PojoCacheMBean myCache;
|
|Course course = new Course()
| myCache.putObject(1234, course);
|
|
Yes it did,
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958382#3958382
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958382
___
jboss-user mailing list
jboss-user@
Hear me out, I'll make it short
I need username, password and kuku as parameters in my CallbackHandler and my
LoginModule
when I initiate a login using my CallbackHandler MyPrincipal to my facades
local or remote
like this
| MyLoginHandler login = new MyLoginHandler(new MyPrincipal( user
47 matches
Mail list logo