[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-23 Thread m.alex
Done. JBSEAM-1229. I hope it's an easy fix.

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-23 Thread [EMAIL PROTECTED]
Could you please raise this in JIRA and assign to me?  I'll need enough 
information to reproduce the issue.

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-23 Thread m.alex
Got it. The invalid token is "undefined".

When subcribing to the topics, two tokens are returned. However, upon the first 
poll the second one is being sent as "undefined". Subsequent polls use both 
tokens correctly. Looks like a typical uninitialized javascript variable 
somewhere on the Seam part.

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-20 Thread m.alex
Ok, some progress.

I left the subscription registry in a single JAR file and removed the install 
parameter (did not work wiht install=="true" or install="false"). The 
application deploys fine, seam remoting is working, but it is breaking when 
trying to subscribe to JMS topic:


  | 15:35:58,898 ERROR [Remoting] Error
  | java.lang.IllegalArgumentException: Invalid token argument - token not 
found in Session Context.
  | at 
org.jboss.seam.remoting.messaging.SubscriptionRegistry.getSubscription(SubscriptionRegistry.java:178)
  | at 
org.jboss.seam.remoting.messaging.PollRequest.poll(PollRequest.java:43)
  | at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:83)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
  | at 
org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68)
  | at 
org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-20 Thread m.alex
Ok, some progress.

I left the subscription registry in a single JAR file and removed the install 
parameter (did not work wiht install=="true" or install="false"). The 
application deploys fine, seam remoting is working, but it is breaking when 
trying to subscribe to JMS topic:


  | 15:35:58,898 ERROR [Remoting] Error
  | java.lang.IllegalArgumentException: Invalid token argument - token not 
found in Session Context.
  | at 
org.jboss.seam.remoting.messaging.SubscriptionRegistry.getSubscription(SubscriptionRegistry.java:178)
  | at 
org.jboss.seam.remoting.messaging.PollRequest.poll(PollRequest.java:43)
  | at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:83)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
  | at 
org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68)
  | at 
org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread m.alex
Forgot about this. The first error is caused by:

  | Caused by: java.lang.IllegalArgumentException: no such setter method: 
org.jboss.seam.remoting.messaging.SubscriptionRegistry.install
  | at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:219)
  | at org.jboss.seam.Component.initInitializers(Component.java:401)
  | at org.jboss.seam.Component.(Component.java:263)
  | at org.jboss.seam.Component.(Component.java:203)
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:851)
  | ... 141 more

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread m.alex
Ok, here goes.

I tried as advised (using this in a single components.xml):


  | 
  | clientNotificationTopic, 
inventoryNotifications
  | 
  | 

and I got an error at deploy time:

2007-04-19 13:33:51,439 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/emp-filter]] 
Exception sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | java.lang.RuntimeException: Could not create Component: 
org.jboss.seam.remoting.messaging.subscriptionRegistry
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:865)
  | at 
org.jboss.seam.init.Initialization.installComponents(Initialization.java:796)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:503)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | ...

When using this in a single components.xml:

  | 
  | 
  | clientNotificationTopic, 
inventoryNotifications
  | 
  | 

I can deploy without error, but when I try to actually use remoting, I get:

13:25:16,997 ERROR [Remoting] Error
  | java.lang.IllegalStateException: No SubscriptionRegistry exists
  | at 
org.jboss.seam.remoting.messaging.SubscriptionRegistry.instance(SubscriptionRegistry.java:65)
  | at 
org.jboss.seam.remoting.messaging.SubscriptionRequest.subscribe(SubscriptionRequest.java:22)
  | at 
org.jboss.seam.remoting.SubscriptionHandler.handle(SubscriptionHandler.java:78)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
  | at 
org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68)
  | at 
org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | ...

Apparently I can't figure out which is the right place to insert that 
declaration...

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread petemuir
No, but there was a change which prevented you trying to deploy the same 
component twice ;)

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread m.alex
I'm going to test that, but I had no problem deploying multiple jars with that 
components.xml included. It's only whan I have both jars and wars when problems 
start to appear. The same setup was working fine with Seam 1.1 and the 
documentation doesn't seem to indicate anything was changed with regard to 
deploying...

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread [EMAIL PROTECTED]
"m.alex" wrote : 
  | component.xml in each JAR's META-INF contains:
  | 
  |   | 
  |   | clientNotificationTopic
  |   | 
  |   | 
  |   | 
  | 

So you have multiple jar files in your application with the same 
components.xml?  That's the problem there, you're trying to create the 
SubscriptionRegistry twice.  You only need one SubscriptionRegistry, so either 
remove it from all but one of your components.xml files, or remove all but one 
of the components.xml files.

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-19 Thread m.alex
Anybody?

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-18 Thread m.alex
There are no class loades defined in any jboss-web.xml either.

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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-18 Thread m.alex
That didn't fix it.

Here goes:

EAR's jboss-app.xml:

  | 
  |  
  | seam.jboss.org:loader=loader-emp
  |  
  | 

component.xml in each JAR's META-INF contains:

  | 
  | clientNotificationTopic
  | 
  | 
  | 
component.xml in each WAR's WEB-INF file contains:

  | 
  | clientNotificationTopic
  | 
  | 

The Seam Resource Servlet declaration is included in each web.xml, as specified 
in the Seam Remoting doc.


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

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


[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1

2007-04-17 Thread [EMAIL PROTECTED]
Make sure that jboss-app.xml has a unique classloader name for your 
application.  If that doesn't fix it, please post your packaging structure.

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

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