[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-19 Thread fguerzoni
Added: JBSEAM-428

I reproduced the problem (very tricky) integrating 'Hibernate' example and 
posted to jira the 6 relative new/updated files.

thanks

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

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


[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread [EMAIL PROTECTED]
This seems to be a Jetty-specific problem. Why does Jetty call equals() after a 
Session.setAttribute() ? Is this how it does dirty checking?  

Yew!

Well, add an issue to JIRA.

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

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


[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread fguerzoni
Thanks Gavin.

Sadly I get the following exception on the first call (webapp is deployed 
without errors):
org.hibernate.SessionException: Session is closed!

Code is the same, hibernate.cfg.xml is the same too, components.xml is


  | 
  | 
  | false
  | true
  | 
  | 
  | 
  | 
  | 12
  | 
  | 
  | 
  | 
  | 
  | java:/cbiFeDatabase
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

as suggested by docs.

Thanks in advance.


By the way, I'm very impressed by the dynamic generation of docs from xml. It's 
the first time I've generated the docs and I think it's very powerful.


Here the full stack trace:

org.hibernate.SessionException: Session is closed!
at 
org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:867)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:788)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:781)
at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.entityIdsToRefs(ManagedEntityIdentityInterceptor
.java:161)
at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.ja
va:76)
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 org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66)
at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
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 org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66)
at 
org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30)
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 org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66)
at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor
.java:60)
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 org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66)
at 
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessIntercepto
r.java:50)
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 org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66)
at 
org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:26)
at org.jboss.seam.util.Work.workInTransaction(Work.java:31)
at 
org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:20)

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(

[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread [EMAIL PROTECTED]


It is in the docs :-)

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

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


[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread fguerzoni
I thank you very much!

Now I get an error using the latest cvs version.
In fact I get a ClassNotFoundException on org.jboss.seam.core.Hibernate.
Looking for that on Fisheye shows that this class was deleted 3 days ago.
Could you suggest how to modify my components.xml in order to work with latest 
cvs version?

My actually configuration is


  | 
  | 
  | false
  | true
  | 
  | 
  | 
  | 
  | 12
  | 
  | 
  | 
  | 
  |  
  |  
  | 
  | 
  | 
  | 




the stack trace is

C:\jetty-6.0.1>java -jar start.jar
2006-10-18 08:47:53.500::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2006-10-18 08:47:53.718::INFO:  jetty-6.0.1
2006-10-18 08:47:54.312::INFO:  Extract 
jar:file:/C:/jetty-6.0.1/webapps/CBI_FE.war!/ to C:\DOCUME~1\CR00570\IMPOST~1\Te
mp\Jetty_0_0_0_0_8080__CBI_FE_\webapp
08:48:03,312 INFO  [ServletContextListener] Welcome to Seam 1.1.0.BETA
08:48:03,390 INFO  [Initialization] reading components.xml
2006-10-18 08:48:03.484::WARN:  failed [EMAIL 
PROTECTED]/CBI_FE,file:/C:/Documents%20and%20Settings/CR00570/Impost
azioni%20locali/Temp/Jetty_0_0_0_0_8080__CBI_FE_/webapp/}
2006-10-18 08:48:03.484::WARN:  failed [EMAIL PROTECTED]
2006-10-18 08:48:03.531::WARN:  failed [EMAIL PROTECTED]
2006-10-18 08:48:04.250::INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
2006-10-18 08:48:04.250::WARN:  failed [EMAIL PROTECTED]
2006-10-18 08:48:04.250::WARN:  EXCEPTION
java.lang.RuntimeException: error while reading components.xml
at 
org.jboss.seam.init.Initialization.initPropertiesFromXml(Initialization.java:192)
at org.jboss.seam.init.Initialization.(Initialization.java:126)
at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1129)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:457)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:905)
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 org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Caused by: java.lang.ClassNotFoundException: org.jboss.seam.core.Hibernate
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:358)
at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:320)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jboss.seam.util.Reflections.classForName(Reflections.java:141)
at 
org.jboss.seam.init.Initialization.installComponent(Initialization.java:217)
at 
org.jboss.seam.init.Initialization.initPropertiesFromXml(Initialization.java:164)
... 23 more
2006-10-18 08:50:56.140::INFO:  Shutdown hook executing
2006-10-18 08:50:56.140::INFO:  Shutdown hook complete

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

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


[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-13 Thread sbryzak2
Fixed in CVS, sorry about that.

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

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