Re: getComponent with JavaFlow 2.1.9

2006-12-21 Thread dbennett1556
 Sorry I am not sure if I missed the answer to the questions. But this is very 
important information for us so I will ask them again. 
 
 Is the version of Java Flow in 2.1.10 an updated version? 
 
 Is the updated version only in 2.2.0? If so can it be back ported to 2.1.10?
 
 
 Thanks,
 Doug
 
 
  
 -Original Message-
 From: [EMAIL PROTECTED]
 To: dev@cocoon.apache.org
 Sent: Wed, 13 Dec 2006 3:51 AM
 Subject: Re: getComponent with JavaFlow 2.1.9
 
  Thanks all for your inputs. 
 
 2.1.9 is the latest released version, that's why I am using it. I didn't know 
javaflow version there was quite old. 
 Do I have to grab the javaflow block from the 2.2.0 and use it ? 
 Or wait for the 2.1.10 release which will contain an updated version of 
javaflow ? 
 
 Cheers, 
 Nicolas 
 
 Torsten Curdt a écrit : 
  Please note that javaflow in 2.1.9 is a quite old version 
  ...unless I missed that someone updated it. 
  
  cheers 
  --  Torsten 
  
  On 12/13/06, Bart Molenkamp [EMAIL PROTECTED] wrote: 
  I've had problems with JavaFlow and classes compiled with debug  
  information (in Eclipse). You could try to compile without debug  
  information, and see if it works. 
  
  Bart. 
  
   -Oorspronkelijk bericht- 
   Van: Nicolas BOUSSUGE [mailto:[EMAIL PROTECTED] 
   Verzonden: woensdag 13 december 2006 10:00 
   Aan: dev@cocoon.apache.org 
   Onderwerp: getComponent with JavaFlow 2.1.9 
   
   Hello, 
   
   The users list was maybe not the appropriate list to post my message. 
   This seems to be a known bug of JavaFlow, according to the  TODO.txt 
   I 
   saw in the javaflow source. 
   Have the mentionned patches been applied to the jakarta-bcel  project 
   in 
   the 2.1.10 upcoming release ? 
   Is there a trick to get it to work with the current version ? 
   Thanks a lot 
   
   Best Regards, 
   Nicolas 
   
   
   Nicolas BOUSSUGE a écrit : 

Hello, 

I got the following problem in JavaFlow (Cocoon 2.1.9) when  trying 
to 
lookup a custom component : 

Instruction GETSTATIC constraint violated: Class 
'com.test.service.ManagementService' is referenced, but cannot be 
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable 
attributes of Code attribute 'CODE' (method 'static void 
clinit()') exceeds number of local variable slots '0' ('There  may 
be 
no more than one LocalVariableTable attribute per local variable in 
the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15 
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1: 
unknown object 2: unknown object 3: unknown object 4: unknown 
object OperandStack: Slots used: 1 MaxStack: 4. 
com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0 
[InstructionContext] 1: getstatic 15 [InstructionContext] 

Then I replaced the lookup as suggested by Torsten in a message  on 
the 
mailing list (use a literal String instead of the ROLE), which  
results 
in the following exception : 

Instruction CHECKCAST constraint violated: Class 
'com.test.service.ManagementService' is referenced, but cannot be 
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable 
attributes of Code attribute 'CODE' (method 'static void 
clinit()') exceeds number of local variable slots '0' ('There  may 
be 
no more than one LocalVariableTable attribute per local variable in 
the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21 
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1: 
unknown object 2: unknown object 3: unknown object 4: unknown 
object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object 
(Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15 
[InstructionContext] 3: invokevirtual 17 [InstructionContext] 6: 
checkcast 21 [InstructionContext] 

Is that a known bug of JavaFlow ? Or did I do something wrong ? 
My webapp is running under Tomcat 5.5.20. 

Thanks a lot. 

Regards, 
Nicolas 



 -
  
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
  
  
 
 -- --- 
 Nicolas BOUSSUGE 
 Atos Origin - Agence Sud-Ouest 
 18 av de l escadrille Normandie-Niemen BP 20 
 31701 Blagnac Cedex 
 
 Bureau : 05.62.74.59.69 
 Télécopie: 05.62.74.59.00 
 mailto :[EMAIL PROTECTED] 
 
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: getComponent with JavaFlow 2.1.9

2006-12-21 Thread Torsten Curdt

 Is the version of Java Flow in 2.1.10 an updated version?


No, I don't think anyone bothered backporting.


 Is the updated version only in 2.2.0? If so can it be back ported to
2.1.10?


Yes, 2.2 has the current version.

cheers
--
Torsten


Re: getComponent with JavaFlow 2.1.9

2006-12-21 Thread dbennett1556
 Can someone give some input as to what would be involved in back porting the 
Java Flow code to the 2.1.10 code base?
 
 For my project at least 2.2 is worlds away.
 
 Thanks,
 Doug

 -Original Message-
 From: [EMAIL PROTECTED]
 To: dev@cocoon.apache.org
 Sent: Thu, 21 Dec 2006 7:24 AM
 Subject: Re: getComponent with JavaFlow 2.1.9
 
   Is the version of Java Flow in 2.1.10 an updated version? 
 
 No, I don't think anyone bothered backporting. 
 
  Is the updated version only in 2.2.0? If so can it be back ported to 
  2.1.10? 
 
 Yes, 2.2 has the current version. 
 
 cheers 
 -- 
 Torsten 
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: getComponent with JavaFlow 2.1.9

2006-12-21 Thread Torsten Curdt

Can someone give some input as to what would be involved in back porting the
Java Flow code to the 2.1.10 code base?

 For my project at least 2.2 is worlds away.


Well, in 2.2 we use a different approach in regards to the
integration. (via jci) For various reasons the rewriting is not done
by the classloader anymore. (but via jci) So the javaflow classes
themself can probably stay untouched ...but in 2.2 this is all
integrated with the auto-reloading. So basically you would have to
backport that as well to get the same behavior and features.

What should be possible is to just use the commons javaflow library
with the old integration though. Should be reasonable simple.

I would have to dig into the code to work out some action items
though. Has been ages since I last looked at 2.1.

cheers
--
Torsten


getComponent with JavaFlow 2.1.9

2006-12-13 Thread Nicolas BOUSSUGE

Hello,

The users list was maybe not the appropriate list to post my message.
This seems to be a known bug of JavaFlow, according to the TODO.txt I 
saw in the javaflow source.
Have the mentionned patches been applied to the jakarta-bcel project in 
the 2.1.10 upcoming release ?

Is there a trick to get it to work with the current version ?
Thanks a lot

Best Regards,
Nicolas


Nicolas BOUSSUGE a écrit :


Hello,

I got the following problem in JavaFlow (Cocoon 2.1.9) when trying to 
lookup a custom component :


Instruction GETSTATIC constraint violated: Class 
'com.test.service.ManagementService' is referenced, but cannot be 
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable 
attributes of Code attribute 'CODE' (method 'static void 
clinit()') exceeds number of local variable slots '0' ('There may be 
no more than one LocalVariableTable attribute per local variable in 
the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15 
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1: 
unknown object 2: unknown object 3: unknown object 4: unknown 
object OperandStack: Slots used: 1 MaxStack: 4. 
com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0 
[InstructionContext] 1: getstatic 15 [InstructionContext]


Then I replaced the lookup as suggested by Torsten in a message on the 
mailing list (use a literal String instead of the ROLE), which results 
in the following exception :


Instruction CHECKCAST constraint violated: Class 
'com.test.service.ManagementService' is referenced, but cannot be 
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable 
attributes of Code attribute 'CODE' (method 'static void 
clinit()') exceeds number of local variable slots '0' ('There may be 
no more than one LocalVariableTable attribute per local variable in 
the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21 
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1: 
unknown object 2: unknown object 3: unknown object 4: unknown 
object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object 
(Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15 
[InstructionContext] 3: invokevirtual 17 [InstructionContext] 6: 
checkcast 21 [InstructionContext]


Is that a known bug of JavaFlow ? Or did I do something wrong ?
My webapp is running under Tomcat 5.5.20.

Thanks a  lot.

Regards,
Nicolas



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: getComponent with JavaFlow 2.1.9

2006-12-13 Thread Bart Molenkamp
I've had problems with JavaFlow and classes compiled with debug information (in 
Eclipse). You could try to compile without debug information, and see if it 
works. 

Bart.

 -Oorspronkelijk bericht-
 Van: Nicolas BOUSSUGE [mailto:[EMAIL PROTECTED]
 Verzonden: woensdag 13 december 2006 10:00
 Aan: dev@cocoon.apache.org
 Onderwerp: getComponent with JavaFlow 2.1.9
 
 Hello,
 
 The users list was maybe not the appropriate list to post my message.
 This seems to be a known bug of JavaFlow, according to the TODO.txt I
 saw in the javaflow source.
 Have the mentionned patches been applied to the jakarta-bcel project in
 the 2.1.10 upcoming release ?
 Is there a trick to get it to work with the current version ?
 Thanks a lot
 
 Best Regards,
 Nicolas
 
 
 Nicolas BOUSSUGE a écrit :
 
  Hello,
 
  I got the following problem in JavaFlow (Cocoon 2.1.9) when trying to
  lookup a custom component :
 
  Instruction GETSTATIC constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There may be
  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4.
  com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0
  [InstructionContext] 1: getstatic 15 [InstructionContext]
 
  Then I replaced the lookup as suggested by Torsten in a message on the
  mailing list (use a literal String instead of the ROLE), which results
  in the following exception :
 
  Instruction CHECKCAST constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There may be
  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object
  (Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15
  [InstructionContext] 3: invokevirtual 17 [InstructionContext] 6:
  checkcast 21 [InstructionContext]
 
  Is that a known bug of JavaFlow ? Or did I do something wrong ?
  My webapp is running under Tomcat 5.5.20.
 
  Thanks a  lot.
 
  Regards,
  Nicolas
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



Re: getComponent with JavaFlow 2.1.9

2006-12-13 Thread Torsten Curdt

Please note that javaflow in 2.1.9 is a quite old version
...unless I missed that someone updated it.

cheers
--
Torsten

On 12/13/06, Bart Molenkamp [EMAIL PROTECTED] wrote:

I've had problems with JavaFlow and classes compiled with debug information (in 
Eclipse). You could try to compile without debug information, and see if it 
works.

Bart.

 -Oorspronkelijk bericht-
 Van: Nicolas BOUSSUGE [mailto:[EMAIL PROTECTED]
 Verzonden: woensdag 13 december 2006 10:00
 Aan: dev@cocoon.apache.org
 Onderwerp: getComponent with JavaFlow 2.1.9

 Hello,

 The users list was maybe not the appropriate list to post my message.
 This seems to be a known bug of JavaFlow, according to the TODO.txt I
 saw in the javaflow source.
 Have the mentionned patches been applied to the jakarta-bcel project in
 the 2.1.10 upcoming release ?
 Is there a trick to get it to work with the current version ?
 Thanks a lot

 Best Regards,
 Nicolas


 Nicolas BOUSSUGE a écrit :
 
  Hello,
 
  I got the following problem in JavaFlow (Cocoon 2.1.9) when trying to
  lookup a custom component :
 
  Instruction GETSTATIC constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There may be
  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4.
  com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0
  [InstructionContext] 1: getstatic 15 [InstructionContext]
 
  Then I replaced the lookup as suggested by Torsten in a message on the
  mailing list (use a literal String instead of the ROLE), which results
  in the following exception :
 
  Instruction CHECKCAST constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There may be
  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object
  (Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15
  [InstructionContext] 3: invokevirtual 17 [InstructionContext] 6:
  checkcast 21 [InstructionContext]
 
  Is that a known bug of JavaFlow ? Or did I do something wrong ?
  My webapp is running under Tomcat 5.5.20.
 
  Thanks a  lot.
 
  Regards,
  Nicolas
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]




Re: getComponent with JavaFlow 2.1.9

2006-12-13 Thread Nicolas BOUSSUGE

Thanks all for your inputs.

2.1.9 is the latest released version, that's why I am using it. I didn't 
know javaflow version there was quite old.

Do I have to grab the javaflow block from the 2.2.0 and use it ?
Or wait for the 2.1.10 release which will contain an updated version of 
javaflow ?


Cheers,
Nicolas


Torsten Curdt a écrit :

Please note that javaflow in 2.1.9 is a quite old version
...unless I missed that someone updated it.

cheers
--
Torsten

On 12/13/06, Bart Molenkamp [EMAIL PROTECTED] wrote:
I've had problems with JavaFlow and classes compiled with debug 
information (in Eclipse). You could try to compile without debug 
information, and see if it works.


Bart.

 -Oorspronkelijk bericht-
 Van: Nicolas BOUSSUGE [mailto:[EMAIL PROTECTED]
 Verzonden: woensdag 13 december 2006 10:00
 Aan: dev@cocoon.apache.org
 Onderwerp: getComponent with JavaFlow 2.1.9

 Hello,

 The users list was maybe not the appropriate list to post my message.
 This seems to be a known bug of JavaFlow, according to the 
TODO.txt I

 saw in the javaflow source.
 Have the mentionned patches been applied to the jakarta-bcel 
project in

 the 2.1.10 upcoming release ?
 Is there a trick to get it to work with the current version ?
 Thanks a lot

 Best Regards,
 Nicolas


 Nicolas BOUSSUGE a écrit :
 
  Hello,
 
  I got the following problem in JavaFlow (Cocoon 2.1.9) when 
trying to

  lookup a custom component :
 
  Instruction GETSTATIC constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There 
may be

  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4.
  com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0
  [InstructionContext] 1: getstatic 15 [InstructionContext]
 
  Then I replaced the lookup as suggested by Torsten in a message 
on the
  mailing list (use a literal String instead of the ROLE), which 
results

  in the following exception :
 
  Instruction CHECKCAST constraint violated: Class
  'com.test.service.ManagementService' is referenced, but cannot be
  loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
  attributes of Code attribute 'CODE' (method 'static void
  clinit()') exceeds number of local variable slots '0' ('There 
may be

  no more than one LocalVariableTable attribute per local variable in
  the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21
  Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
  unknown object 2: unknown object 3: unknown object 4: unknown
  object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object
  (Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15
  [InstructionContext] 3: invokevirtual 17 [InstructionContext] 6:
  checkcast 21 [InstructionContext]
 
  Is that a known bug of JavaFlow ? Or did I do something wrong ?
  My webapp is running under Tomcat 5.5.20.
 
  Thanks a  lot.
 
  Regards,
  Nicolas
 
 
 
  
-

  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]




--
---
Nicolas BOUSSUGE
Atos Origin - Agence Sud-Ouest
18 av de l escadrille Normandie-Niemen  BP 20
31701 Blagnac Cedex

Bureau   : 05.62.74.59.69
Télécopie: 05.62.74.59.00

mailto :[EMAIL PROTECTED]



Re: getComponent with JavaFlow 2.1.9

2006-12-13 Thread Nicolas BOUSSUGE


Thanks Bart, that seems to solve the problem !

Cheers,
Nicolas


Bart Molenkamp a écrit :
I've had problems with JavaFlow and classes compiled with debug information (in Eclipse). You could try to compile without debug information, and see if it works. 


Bart.

  

-Oorspronkelijk bericht-
Van: Nicolas BOUSSUGE [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 13 december 2006 10:00
Aan: dev@cocoon.apache.org
Onderwerp: getComponent with JavaFlow 2.1.9

Hello,

The users list was maybe not the appropriate list to post my message.
This seems to be a known bug of JavaFlow, according to the TODO.txt I
saw in the javaflow source.
Have the mentionned patches been applied to the jakarta-bcel project in
the 2.1.10 upcoming release ?
Is there a trick to get it to work with the current version ?
Thanks a lot

Best Regards,
Nicolas


Nicolas BOUSSUGE a écrit :


Hello,

I got the following problem in JavaFlow (Cocoon 2.1.9) when trying to
lookup a custom component :

Instruction GETSTATIC constraint violated: Class
'com.test.service.ManagementService' is referenced, but cannot be
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
attributes of Code attribute 'CODE' (method 'static void
clinit()') exceeds number of local variable slots '0' ('There may be
no more than one LocalVariableTable attribute per local variable in
the Code attribute.'). '. InstructionHandle: 1: getstatic[178](3) 15
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
unknown object 2: unknown object 3: unknown object 4: unknown
object OperandStack: Slots used: 1 MaxStack: 4.
com.test.flow.java.AdminFlow (Size: 1) Execution flow: 0: aload_0
[InstructionContext] 1: getstatic 15 [InstructionContext]

Then I replaced the lookup as suggested by Torsten in a message on the
mailing list (use a literal String instead of the ROLE), which results
in the following exception :

Instruction CHECKCAST constraint violated: Class
'com.test.service.ManagementService' is referenced, but cannot be
loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
attributes of Code attribute 'CODE' (method 'static void
clinit()') exceeds number of local variable slots '0' ('There may be
no more than one LocalVariableTable attribute per local variable in
the Code attribute.'). '. InstructionHandle: 6: checkcast[192](3) 21
Execution Frame: Local Variables: 0: com.test.flow.java.AdminFlow 1:
unknown object 2: unknown object 3: unknown object 4: unknown
object OperandStack: Slots used: 1 MaxStack: 4. java.lang.Object
(Size: 1) Execution flow: 0: aload_0 [InstructionContext] 1: ldc 15
[InstructionContext] 3: invokevirtual 17 [InstructionContext] 6:
checkcast 21 [InstructionContext]

Is that a known bug of JavaFlow ? Or did I do something wrong ?
My webapp is running under Tomcat 5.5.20.

Thanks a  lot.

Regards,
Nicolas



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  




  


--
---
Nicolas BOUSSUGE
Atos Origin - Agence Sud-Ouest
18 av de l escadrille Normandie-Niemen  BP 20
31701 Blagnac Cedex

Bureau   : 05.62.74.59.69
Télécopie: 05.62.74.59.00

mailto :[EMAIL PROTECTED]