[jboss-user] [EJB 3.0] - Re: Multiple security domains not supported Error

2008-04-03 Thread emailmsgbox
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=reply&p=4141181
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Multiple security domains not supported Error

2008-04-02 Thread emailmsgbox
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 @WebService
Hall breaks loose and I get 



  | 09:14:51,531 ERROR [MainDeployer] Could not start deployment: 
file:/D:/projects/tests/jboss-4.2.2/server/default/deploy/test.jar
  | java.lang.IllegalStateException: Multiple security domains not supported
  | at 
org.jboss.wsf.container.jboss42.SecurityHandlerEJB3.addSecurityDomain
  | (SecurityHandlerEJB3.java:65)
  | at 
org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.cr
  | eateJBossWebAppDescriptor(WebAppGeneratorDeploymentAspect.java:273)
  | at 
org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.ge
  | neratWebDeployment(WebAppGeneratorDeploymentAspect.java:97)
  | at 
org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.cr
  | eate(WebAppGeneratorDeploymentAspect.java:84)
  | at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
  | (DeploymentAspectManagerImpl.java:115)
  | at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
  | loyerHook.java:97)
  | at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
  | erceptor.java:90)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
  | start(SubDeployerInterceptorSupport.java:188)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
  | ptor.java:95)
  | 
  | .
  | .
  | .
  | 09:14:56,316 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/D:/projects/tests/jboss-4.2.2/server/default/deploy/test.jar }
  |   deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
  |   status: Deployment FAILED reason: Multiple security domains not supported
  |   state: FAILED
  |   watch: file:/D:/projects/tests/jboss-4.2.2/server/default/deploy/test.jar
  |   altDD: null
  | 
  | 
  | 
.
.
.

any Ideas ?
Thanks 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141165#4141165

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141165
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-02-03 Thread emailmsgbox
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.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - TreeCache fails when displayed remotely in jconsole

2008-01-31 Thread emailmsgbox
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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125108#4125108

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-01-28 Thread emailmsgbox
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#4124264

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124264
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-01-28 Thread emailmsgbox
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&op=viewtopic&p=4124252#4124252

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124252
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-01-26 Thread emailmsgbox
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
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Fails to run on Jboss4.2.2

2008-01-24 Thread emailmsgbox
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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122904
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Fails to run on Jboss4.2.2

2008-01-23 Thread emailmsgbox
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.Serializable;
  | @PojoCacheable
  | public class A  implements Serializable //extends BaseDataObject{
  | private int intVal;
  | private boolean boolVal;
  | private String StringVal;
  | 
  | public int getIntVal() { return intVal;  }
  | public void setIntVal(int intVal) {this.intVal = intVal; }
  | public boolean isBoolVal() { return boolVal; }
  | public void setBoolVal(boolean boolVal) { this.boolVal = boolVal; }
  | public String getStringVal() {return StringVal; }
  | public void setStringVal(String stringVal) {StringVal = stringVal; }
  | 
  | 
  | 

And when doing  this without any cache use , just this

  |   (1) A aa = new A();
  |   (2) aa.setBoolVal(true);
  | 

In the line (2) I get 

anonymous wrote : 
  | java.lang.ClassCastException: com.test.A
  | 
org.jboss.aspects.patterns.observable.SubjectInterceptor.invoke(SubjectInterceptor.java:50)
  | com.test.A$boolVal_Set.invokeNext(A$boolVal_Set.java)
  | com.test.A.boolVal_w_$aop(A.java)
  | com.test.A.setBoolVal(A.java:35)
  | com.test.mbean.TestService.test2(ConferenceService.java:352)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | java.lang.reflect.Method.invoke(Unknown Source)
  | 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | ...
  | 

I tried jbossCache 1.4.0.SP6-8 with no success

Ideas? :-(

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122585#4122585

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Inheritance of a pojo problem

2007-07-29 Thread emailmsgbox
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-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Inheritance of a pojo problem

2007-07-25 Thread emailmsgbox
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;
  | 
  | }
  | 
  | public class UserSLSB  implements IUserSLFS  {
  | 
  |   public UserBase getUser(String id){...}
  |   public void updateUser(UserBase userBase ){...}
  |   public void createUser(User user ){...}
  | 
  | }
  | 
  | 

The User table hold 3 fields ID,NAME,PASS
How can use UserBase and User as ejb3 entitys without adding an extra field 
used by at @DiscriminatorColumn 

I have tried different annotation setting and can get it  to work 
I don't really need the UserBase as an entity just as a data oblect

Ideas ?




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067352#4067352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache support JDK5.0 Enum bug, is there a work aroun

2007-02-12 Thread emailmsgbox
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.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: problem when using new Fqn with Integer

2007-02-11 Thread emailmsgbox
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 until this design issue is resolved

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014438#4014438

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014438
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: problem when using new Fqn with Integer

2007-02-08 Thread emailmsgbox
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 Object{new Integer(300), new Integer(322649)});
  | 
  | In this example, we want to access a node that has information for employee 
with id=322649 in department with id=300. The string version needs two map 
lookups on Strings, whereas the Fqn version needs two map lookups on Integers. 
In a large hashtable, the hashCode() method for String may have collisions, 
leading to actual string comparisons. Also, clients of the cache may already 
have identifiers for their objects in Object form, and don't want to transform 
between Object and Strings, preventing unnecessary copying.
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013309#4013309

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013309
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - problem when using new Fqn with Integer

2007-02-08 Thread emailmsgbox
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  = getChildrenNames("/test/kuku");
  | 
  | 

I get one object back both in the map and set

BUT When I do the following 


  | final static Fqn TEST = Fqn.fromString("/test/kuku");
  | Integer id = 555'
  | 
  | putObject(new Fqn(TEST , id ), myObject);
  | 
  | ...
  | 
  |Map aMap = findObjects(TEST );
  |Set aSet  = getChildrenNames(TEST );
  | 
  | 


I get two identical  Myobject  in the map and  in the set also 
one is by a string and the second is by an Integer

Ideas?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013165#4013165

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013165
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-02-01 Thread emailmsgbox
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&mode=reply&p=4009477
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache support JDK5.0 Enum bug, is there a work aroun

2007-02-01 Thread emailmsgbox
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 TreeMap to hold  kuku objects 
after I remove from the cached TreeMap a kuku object ,
the size  of the map decried by one and values()  will return correct data

Ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009471#4009471

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009471
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - PojoCache support JDK5.0 Enum bug, is there a work around fo

2007-01-31 Thread emailmsgbox
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 a work around that will work on a local and/or a cluster in 1.4.1 ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008713#4008713

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008713
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-26 Thread emailmsgbox
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
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-21 Thread emailmsgbox
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.html?module=bb&op=viewtopic&p=4004543#4004543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-21 Thread emailmsgbox
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.html?module=bb&op=viewtopic&p=4004541#4004541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-17 Thread emailmsgbox
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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-15 Thread emailmsgbox
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-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-11 Thread emailmsgbox
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 = MBeanServerLocator.locate();
  | 
  | myCache = (PojoCacheIfc ) MBeanProxyExt.create(
  | PojoCacheMBean.class,
  | CACHE_SRV,
  | server);
  |  
  | 
  | 
  | and the method used was 
  | 
  | myCache.removeObject(fqn)
  | 

so I tried the following 



  |  static PojoCacheMBean myCache;
  |MBeanServer server = MBeanServerLocator.locate();
  | 
  | myCache = (PojoCacheMBean ) MBeanProxyExt.create(
  | PojoCacheMBean.class,
  | CACHE_SRV,
  | server);
  | 
  | with the method  
  | 
  | myCache.remove(fqn)
  | 
  | 

and...  behold  a  fully removal  with no "leftovers" in the file system !!

again: winXP jboss404 JBoss-cache 1.4.1GA JGroups 2.4.1 javassist3.4 jboss-aop 
1.5.2

As I understand   I should be using PojoCacheIfc interface  not PojoCacheMBean 
what am I missing?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000382#4000382

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000382
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-09 Thread emailmsgbox
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://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999441
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-09 Thread emailmsgbox
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 mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-03 Thread emailmsgbox
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 "leftovers" in the file system.
But with 1.4.1.CR1 there ARE "leftovers" in the file system.

With a simple Object like TestData after delete the getObject returns null on 
both versions .
But with a complicated Object its partially removes it , and you get a strange

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997580#3997580

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-01-02 Thread emailmsgbox
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.SP1
after that the in FileCache location is clean
with version 1.4.1.CR1
after that the in FileCache location I can still the remains of the cached 
object


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997184#3997184

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997184
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - removeObject do not fully remove when working with FileCache

2006-12-26 Thread emailmsgbox
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 is not fully removed form the file system

with the simple data object "TestData" , when I try to retrieve from the cache 
the deleted object I can NULL
but with a more complex object I get a partial object   

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996254#3996254

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: FileCacheLoader partial preload

2006-12-20 Thread emailmsgbox
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
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: FileCacheLoader partial preload

2006-12-18 Thread emailmsgbox
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 list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: FileCacheLoader partial preload

2006-12-18 Thread emailmsgbox
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.myStr = myStr;
  | this.myInt = myInt;
  | }
  | public Map getKukuMap() {
  | return kukuMap;
  | }
  | public void setKukuMap(Map kukuMap) {
  | this.kukuMap = kukuMap;
  | }
  |  
  | }


  | PojoCacheable
  | public class TestKukuData implements Serializable {
  | String id;
  | int miInt;
  | 
  | public TestKukuData() {}
  | public TestKukuData(String id, int miInt) {
  | this.id = id;
  | this.miInt = miInt;
  | }
  | 
  | public String getId() {
  | return id;
  | }
  | 
  | public void setId(String id) {
  | this.id = id;
  | }
  | 
  | }
  | 


  |  public class MYCache {
  | final static Fqn TEST =   Fqn.fromString("/kuku/test");
  | static PojoCacheIfc myCache;
  | 
  | 
  |   public static TestData setTest(Integer id, TestData  data){
  |  
  | return (TestData)myCache.putObject(new Fqn(TEST,id),data);
  | }
  | public static TestData getTest(Integer id){
  | 
  | return (TestData)myCache.getObject(new Fqn(TEST,id));
  |  }
  | 
  | 



  | 
  | class MainTest{
  |  public void do(){
  |int id = 1234
  |TestData tData = MYCache.getTest(id);
  |if(tData == null){
  |TestData data = new TestData("TestData",1);
  | data.getKukuMap().put(new Integer(11),new 
TestKukuData("kukuID1",1+id));
  | data.getKukuMap().put(new Integer(22),new 
TestKukuData("kukuID2",2+id));
  |  
  | MYCache.setTest(id,data);
  | 
  |}
  |else{
  | int size = tData.getKukuMap.size();
  | Collection c = tData.getKukuMap.values() ;
  |  TestKukuData kuku = (TestKukuData 
)ttData.getKukuMap.getObject(11)
  |   }
  | 
  | 
  | 
  | 
  | }
  | 

I run this twice 
first time I load the cache , then I restart Jboss
the second time size is 0 and the collection is empty

but kuku  is with the right value
what am I missing ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994604#3994604

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994604
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Cluster Membership after Network Failure

2006-10-10 Thread emailmsgbox
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&mode=reply&p=3977427
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS BindingException BUG

2006-09-04 Thread emailmsgbox
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-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JBossWS BindingException BUG

2006-09-04 Thread emailmsgbox
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.JAXRPCException: org.jboss.ws.binding.BindingException: 
org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element 
DataObjectsFilter_1 is not allowed in this position in the sequence. The next 
element should be {htt
p://bean.soap.stargate.cti2.com/jaws}DataObjectsFilter_1
at 
org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:292)
at 
org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233)
at 
org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103)
at 
org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117)
at 
org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:115)
at 
org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:219)
at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.ws.binding.BindingException: 
org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element 
DataObjectsFilter_1 is not allowed in this position in the sequence. The next 
element should be {http://bean.soap.starga
te.cti2.com/jaws}DataObjectsFilter_1
at 
org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100)
at 
org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:229)
... 30 more
Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: 
Requested element DataObjectsFilter_1 is not allowed in this position in the 
sequence. The next element should be 
{http://bean.soap.stargate.cti2.com/jaws}DataObjectsFilter_1
at 
org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67)
at 
org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
... 31 more
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
Requested element DataObjectsFilter_1 is not allowed in this position in the 
sequence. The next element should be 
{http://bean.soap.stargate.cti2.com/jaws}DataObjectsFilter_1
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156)
at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at 
org.jbo

[jboss-user] [JBossCache] - Re: pojo cache TX error when I use compile-time weaving

2006-08-28 Thread emailmsgbox
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&mode=reply&p=3967849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - class path problems in load-time instrumentation / Weaving

2006-08-28 Thread emailmsgbox
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.

I added 

  | set JAVA_OPTS=%JAVA_OPTS% 
-Djboss.aop.path=d:/jboss-4.0.4/server/default/conf/jboss-aop.xml 
  | 
  | 
-javaagent:D:/jboss-4.0.4/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
 
  | 

but the get 

  | .
  | Exception in thread "main" java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
  | Caused by: java.lang.NoClassDefFoundError: javassist/ClassPool
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | 

so I stared to adding jars to the classpath...
javassist.jar log4j.jar

and come to yet again to another dead-end

help  !!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967765#3967765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Wrong implementation of "compareOid" method in RequestHandle

2006-08-28 Thread emailmsgbox
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 -> not equal
return res;

while it is true that a different number of dots means that OID(s) are not 
equal, it is most definitely NOT true that OID1 < OID2 if it is shorter. What 
matters is the VALUE of the FIRST non-matching OID component - e.g.:

   1.2.4.1.1 < 1.3.6   even though 1.3.6 is the shorter OID

the correct implementation is to go component by component untill the first 
non-equal value is found. If one of the OID(s) is "exhausted" (i.e., it is a 
prefix of the other) then the shorter one comes first.

This mis-implementation causes a BUG in SNMP GETNEXT behavior as it returns 
WRONG OID(s). In this context, "compareOid" should be used to find the first 
OID that is GREATER than the requested one and NOT less than - as is currently 
the (wrong) implementation of the "getNextOid" method.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967751#3967751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: problem caching synchronizedList object

2006-08-27 Thread emailmsgbox
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&op=viewtopic&p=3967743#3967743

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - pojo cache TX error when I use compile-time weaving

2006-08-27 Thread emailmsgbox
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 manager flips !
(I run in to class path problems with run-time weaving)


  | 19:13:03,078 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
status is 1 (not ACTIVE or PREPARING); returning null)
  | 19:13:03,093 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
status is 1 (not ACTIVE or PREPARING); returning null)
  | 19:13:03,093 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
status is 1 (not ACTIVE or PREPARING); returning null)
  | 19:13:03,125 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
PojoCache.endTransaction(): Failed with exception: 
java.lang.NullPointerException
  | 19:13:03,125 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
status is 1 (not ACTIVE or PREPARING); returning null)
  | 19:13:03,140 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
status is 1 (not ACTIVE or PREPARING); returning null)
  | 19:13:03,156 WARN  [JMS SessionPool Worker-3] [jboss.cache.TreeCache] 
PojoCache.endTransaction(): Failed with exception: 
java.lang.NullPointerException
  | 


also my oracle datasource failes with 

  | at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
  | at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
  | at org.jboss.mq.SpySession.run(SpySession.java:323)
  | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=babylon7/29, BranchQual=, 
localId=29]; -
  | 

what is going on ?!?!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967740#3967740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - problem caching synchronizedList object

2006-08-23 Thread emailmsgbox
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 

  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.ejb.EJBException: java.lang.RuntimeException: 
java.lang.ClassFormatError: Failed to load dyn class: AOPClassPr
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | 
  |  
  | at 
org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:168)
  | ... 28 more
  | Caused by: java.lang.RuntimeException: java.lang.ClassFormatError: Failed 
to load dyn class: AOPClassProxy$0
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174)
  | 
  | 
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | ... 41 more
  | Caused by: java.lang.ClassFormatError: Failed to load dyn class: 
AOPClassProxy$0
  | at 
org.jboss.aop.deployment.JBossClassPool.toClass(JBossClassPool.java:111)
  | at javassist.ClassPool.toClass(ClassPool.java:804)
  | at javassist.CtClass.toClass(CtClass.java:1037)
  | at 
org.jboss.aop.proxy.ClassProxyFactory.generateProxy(ClassProxyFactory.java:309)
  | ..
  | ..at 
org.jboss.cache.aop.CollectionClassHandler.collectionObjectPut(CollectionClassHandler.java:148)
  | at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:213)
  | at 
org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:468)
  | at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:206)
  | at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:731)
  | at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:446)
  | at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:423)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  |   
  | ... 48 more
  | Caused by: javassist.CannotCompileException: no public constructor in 
java.util.Collections$SynchronizedRandomAccessList
  | at javassist.CtNewClass.inheritAllConstructors(CtNewClass.java:102)
  | at javassist.CtNewClass.toBytecode(CtNewClass.java:63)
  | at javassist.CtClass.toBytecode(CtClass.java:1181)
  | at 
org.jboss.aop.deployment.JBossClassPool.toClass(JBossClassPool.java:93)
  | ... 84 more
  | 
  | 


ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967144#3967144

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - error when using wsgen to generet wsdl

2006-08-04 Thread emailmsgbox
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;  
  | }
  | }
  | 
simple and harmless.
when It use the wsgen to manually generate wsdl it work .
but when I  un-comment the @Stateless

I get the following error 

wsgen
error: Could not create declaration for annotation type javax.ejb.Stateless


yes I also tried adding jboss-ejb3x.jar that hold the @stateless

any ideas ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963141#3963141

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963141
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Problem Running JBoss Cache within JBoss Application Ser

2006-07-25 Thread emailmsgbox
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=${output}/resources/jboss-aop.xml
-javaagent:${lib-50}/jboss-aop-jdk50.jar

but still no cigar ;(

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960679#3960679

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Problem Running JBoss Cache within JBoss Application Server

2006-07-25 Thread emailmsgbox
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.cache.TreeCache] putObject(): exception occurred: 
java.lang.IllegalArgumentException: PojoCache.putObject(): Object type is 
neither  aspectized nor Serializable nor an array of primitives. Object class 
name is com.test.data.Address
  | 


it looks like that the 1.5 annotation are ignored
if I remove the annotation @org.jboss.cache.aop.annotation.PojoCacheable
the error is the same ?!

the cache 1.4 upgreade : I replaced jboss-cache.jar with jboss-cache-jdk50.jar
and jboss-aop-jdk50.jar 
As I understand jboss-aop.xml is not needed

 

Please , Any ideas ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960628#3960628

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - simple

2006-07-24 Thread emailmsgbox
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);
  | 
  | 

and I get 
anonymous wrote : 
  |  PojoCache.putObject(): Object type is neither  aspectized nor Serializable 
nor an array of primitives. Object class name is com.test.data.Course
  | 

why ??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960411#3960411

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Using j_security_check with a custom Principal , a custo

2006-07-17 Thread emailmsgbox
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Using j_security_check with a custom Principal , a custom Ca

2006-07-13 Thread emailmsgbox
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(  username, 
kuku),password);
  | loginContext = new LoginContext("my-login",login);
  | loginContext.login();
  | ...
  | 

all is good

but when I try the "full Monty" meaning web and EJB with auth-method FORM 
(j_security_check) I of course fail , 
since the CallbackHandler  that I get in my login module is a with a 
SimplePrincipal
and this SimplePrincipal is missing the extra parameter

So my problem is to pass the extra parameter to the my LoginModule
how do I get the j_security_check to take the extra paramenter and pass it on . 
in some way 

I looked at the ExtendedFormAuthenticator but I do not see how could did help 
me.
since I do not use a filter

So be a sport and H-E-L-P



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957753#3957753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user