[JBoss Portal] - Portal security and tomcat security are not inline
by jkoek
I'm using portal v2.4.
Problem;
The portal is configured to use security.
The user has to logon to the portal when accessing a pate.
I have a portlet that start's up a new window using javascript.
Within this window I'm communicating directly with a servlet/jsp page.
The timeout of the portal is set to 5 minutes.
Every 3 minutes the new created window is refreshing the page using the session id of the main portal.
After 5 minutes the portal is flushing the session because it thinks that it isn't used anymore.
On the next refresh of the window a http status message 403 - Access to the requested resource has been denied is shown, because of the flush of the session done by the portal.
How can I make sure that the portal and the webserver are using the same refresh on the session?
Jeroen.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005781#4005781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005781
19 years, 3 months
[JBossCache] - Configuration problems For PojoCache under JBoss AS
by Naxo
Hello,
I am a newbie in JBoss Cache, and in J2EE in general. I am trying to configure JBoss Cache as a MBean under JBoss AS. This are the products versions that i am using:
| * Jboss 4.0.5. GA (EJB3)
| * JBossCache 1.4.1. GA
|
I have looked all the available documentation that i know, which are:
| * PojoCache User Documentation: http://labs.jboss.com/file-access/default/members/jbosscache/freezone/doc...
| * JBoss Cache Tutorial: http://labs.jboss.com/file-access/default/members/jbosscache/freezone/doc...
| * JBoss Cache FAQ: http://labs.jboss.com/file-access/default/members/jbosscache/freezone/doc...
|
I have also studied the examples available in the JBossCache 1.4.1 GA example directory.
I want to have the PojoCache running as a MBean under JBoss AS. So this is my xxx-service.xml content:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!-- ===================================================================== -->
| <!-- -->
| <!-- PojoCache Service Configuration -->
| <!-- -->
| <!-- ===================================================================== -->
|
| <server>
|
| <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
|
|
| <!-- ==================================================================== -->
| <!-- Defines PojoCache configuration -->
| <!-- ==================================================================== -->
|
| <mbean code="org.jboss.cache.aop.PojoCache" name="jboss.cache:service=DesaladoraPojoCache">
| <!-- Used inside JBoss AS -->
| <depends>jboss:service=Naming</depends>
| <depends>jboss:service=TransactionManager</depends>
|
| <!--
| Configure the TransactionManager
| -->
| <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
|
| <!--
| Node locking scheme:
| OPTIMISTIC
| PESSIMISTIC (default)
| -->
| <attribute name="NodeLockingScheme">PESSIMISTIC</attribute>
|
| <!--
| Note that this attribute is IGNORED if your NodeLockingScheme above is OPTIMISTIC.
|
| Isolation level : SERIALIZABLE
| REPEATABLE_READ (default)
| READ_COMMITTED
| READ_UNCOMMITTED
| NONE
| -->
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
|
| <!--
| Valid modes are LOCAL
| REPL_ASYNC
| REPL_SYNC
| INVALIDATION_ASYNC
| INVALIDATION_SYNC
| -->
| <attribute name="CacheMode">LOCAL</attribute>
|
| <!--
| Name of cluster. Needs to be the same for all clusters, in order
| to find each other
| -->
| <attribute name="ClusterName">Sample-Cluster</attribute>
|
| <!--
| JGroups protocol stack properties. Can also be a URL, e.g. file:/home/bela/default.xml
| <attribute name="ClusterProperties"></attribute>
| -->
|
| <attribute name="ClusterConfig">
| <config>
| <!--
| UDP: if you have a multihomed machine, set the bind_addr attribute to the appropriate
| NIC IP address
| -->
| <!--
| UDP: On Windows machines, because of the media sense feature being broken with multicast
| (even after disabling media sense) set the loopback attribute to true
| -->
| <UDP mcast_addr="228.1.2.5" mcast_port="45577"
| ip_ttl="64" ip_mcast="true"
| mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
| ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
| loopback="false"/>
| <PING timeout="2000" num_initial_members="3"
| up_thread="false" down_thread="false"/>
| <MERGE2 min_interval="10000" max_interval="20000"/>
| <FD shun="true" up_thread="true" down_thread="true"/>
| <VERIFY_SUSPECT timeout="1500"
| up_thread="false" down_thread="false"/>
| <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
| up_thread="false" down_thread="false"/>
| <pbcast.STABLE desired_avg_gossip="20000"
| up_thread="false" down_thread="false"/>
| <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
| down_thread="false"/>
| <FRAG frag_size="8192"
| down_thread="false" up_thread="false"/>
| <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
| shun="true" print_local_addr="true"/>
| <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
| </config>
| </attribute>
|
| </mbean>
|
| </server>
|
I think that the instalation is correct, cause a see through the JMX Agent View the "service=DesaladoraPojoCache" (jboss.cache). This is the message that i get when i started the server:
| 10:41:31,015 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 10:41:31,156 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
|
These are my questions:
| * Is this xxx-cache-service.xml correct for a PojoCache under Jboss AS?
| * I want to use the PojoCache locally in a single JVM as a shared memory between EJB. Do I need to specify the "ClusterConfig" attribute? <attribute name="ClusterConfig">
| * Is there any problem with this line in the server start up?:
|
| | 10:41:31,156 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
| |
| * I don't see any example in the "example" directory (jboss-cache-dist-1.4.1.GA.zip) for a PojoCahe running as a MBean under JBoss AS. All examples (even in the documentation examples), correct me if I am wrong, are for a Standalone environment for a PojoCache. So I don't know exactly how to access the MBean and how to work with the cache. This is what i am trying:
|
| | MBeanServer server;
| | PojoCacheMBean cache;
| | SensorRead test = new SensorRead(new Double("2.2"), "TestSensor", "Configuration details");
| |
| | server = MBeanServerLocator.locateJBoss();
| |
| | try {
| | cache = (PojoCacheMBean) MBeanProxyExt.create(PojoCacheMBean.class,
| | "jboss.cache:service=DesaladoraPojoCache",
| | server);
| | cache.putObject("/aop/sensor", test);
| | }
| | catch (MalformedObjectNameException e) {
| | // TODO Auto-generated catch block
| | e.printStackTrace();
| | }
| | catch (CacheException e) {
| | // TODO Auto-generated catch block
| | e.printStackTrace();
| | }
| |
| This is the code for SensorRead bean:
|
| | package stpd.component.sensors.reads;
| |
| | import org.jboss.cache.aop.annotation.InstanceOfPojoCacheable;
| |
| | /**
| | * @author Nacho
| | *
| | */
| | @SuppressWarnings("serial")
| | @InstanceOfPojoCacheable
| | public class SensorRead {
| |
| | private Double value;
| | private String sensorName; // Tupla type-plantLocalization
| | private String ConfigDetails;
| |
| | public SensorRead() {
| | super();
| | // TODO Auto-generated constructor stub
| | }
| |
| | public SensorRead(Double value, String name, String configDetails) {
| | super();
| | this.value = value;
| | this.sensorName = name;
| | ConfigDetails = configDetails;
| | }
| |
| | public String getConfigDetails() {
| | return ConfigDetails;
| | }
| |
| | public void setConfigDetails(String configDetails) {
| | ConfigDetails = configDetails;
| | }
| |
| | public String getSensorName() {
| | return sensorName;
| | }
| |
| | public void setSensorName(String name) {
| | this.sensorName = name;
| | }
| |
| | public Double getValue() {
| | return value;
| | }
| |
| | public void setValue(Double value) {
| | this.value = value;
| | }
| | }
| |
| And this is the exception that I am getting:
|
| | 12:32:08,203 WARN [AbstractExceptionHandler] Unhandled exception
| | javax.ejb.EJBException: java.lang.RuntimeException: PojoCache.putObject(): fqn: /aop/sensor
| | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
| | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| | ...
| |
| If you need i can put all the stack message, but is too long... and this post is getting to long already.
|
Thanks you in advance. JBoss Cache is a great idea and product, but i am only having problems to use it. You are doing a great job and I hope that I can resolve my actual problems, cause I am kind of stock here...
Thx again and sorry for this long post... but I am trying to put all the important and needed information.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005770#4005770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005770
19 years, 3 months
[Messaging, JMS & JBossMQ] - Flashrecriut problem
by nayabingi
I am new to flashrecruit and I am currently trying to deploy it for a customer. I have followed the instructions for deploying flash recruit on an already installed JBoss application server but I seem to be having a very strange database issue. Below is a breakdown of my system specs and what I have done to deploy the application. Any help with this will be greatly appreciated.
System Specifications
JBoss 4.0.5 GA
MySQL server 5.0.27
J2SE 5.0
apache-ant-1.7.0
flashrecruit 0.9.8.0
Configuration
site.properties (actual username and passswords not included)
database.hibernate.dialect=org.hibernate.dialect.MySQLDialect
database.jdbc.driver=com.mysql.jdbc.Driver
database.url=jdbc:mysql://localhost:3306/
database.url.complete=${database.url}${database.name}
host=jobs.nationalanesthesia.com
jboss.base.dir=/opt/jboss4
test.host.ip=${host}
admin.first.name=Admin
admin.last.name=User
admin.email=admin(a)mydomain.com
admin.user.name=admin
admin.user.password=password
#-----------------------------------------------------------------
## Testing settings
ant.dir=/opt/ant
#-----------------------------------------------------------------
## RUNTIME SETTINGS ##
# Look and Feel of Public Site
#public.site.theme=patriot
#public.site.theme=meadow
#public.site.theme=rainforest
public.site.theme=ocean
calendar.module.enabled=true
debug=off
debuglevel=lines,vars,source
# ----------------------------------------------------------------
# Status transition mapping
# status.transition.mapping=post-appr
# Posting needs approval from a recruiting manager.
#
# status.transition.mapping=simple
# No approvals needed for posting/unposting
#
# status.transition.mapping=enterprise
#
# ----------------------------------------------------------------
status.transition.mapping=post-appr
#Default location for new jobs
job.default.location=60100
#-----------------------------------------------------------------
# vectrics.data.dir - the directory where FlashRecruit will store
# local configuration files, cached information and
# documents.
#-----------------------------------------------------------------
vectrics.data.dir=/opt/flashrecruit/data/
#-----------------------------------------------------------------
# FlashRecruit emailing configuration.
#-----------------------------------------------------------------
mailer.host=localhost
mailer.user=job
mailer.password=
mailer.from.name=Jobs
mailer.from.address=job(a)mydomain.com
#-----------------------------------------------------------------
# FlashRecruit email configuration for received resumes and cover
# letters.
#-----------------------------------------------------------------
resume.recipient.email.host=localhost
resume.recipient.email.username=resumes(a)mydomain.com
resume.recipient.email.password=passowrd
#pop3 or imap
resume.recipient.server.type=pop3
#true or false
demostration.version=false
debug.javascript=false
#-----------------------------------------------------------------
# Database information - used by Ant schema building tasks.
database.name=flashrecruit
database.admin.user=flash
database.admin.password=password
database.application.user=mydb
database.application.password=mypasswd
jboss.server.dir=${jboss.base.dir}/server/default
j2ee.deploy.dir=${jboss.server.dir}/deploy
j2ee.lib.dir=${jboss.server.dir}/lib
j2ee.ext-lib.dir=${jboss.server.dir}/lib/ext
j2ee.schema.dir=${jboss.base.dir}/schema
sql.print=yes
I get the exception below sometimes. Its like the database connection does not stay active and the application is not fully deployed.
org.vectrics.SystemException: Exception comitting transaction
org.vectrics.hibernate.ThreadProperties.commitTransaction(ThreadProperties.java:541)
org.vectrics.hibernate.ThreadProperties.forcedCommitAndClose(ThreadProperties.java:380)
org.vectrics.struts.VectricsServlet.service(VectricsServlet.java:201)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Below is what the log is showing when I get this exception.
2007-01-24 07:46:35,026 DEBUG [org.hibernate.transaction.JDBCTransaction] commit
2007-01-24 07:46:35,026 DEBUG [org.vectrics.common.db.AuditInterceptor] beforeTransactionCompletion() called
2007-01-24 07:46:35,026 DEBUG [org.hibernate.transaction.JDBCTransaction] re-enabling autocommit
2007-01-24 07:46:35,027 ERROR [org.hibernate.transaction.JDBCTransaction] Could not toggle autocommit
java.sql.SQLException: Connection handle has been closed and is unusable
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:537)
at org.jboss.resource.adapter.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:321)
at org.hibernate.transaction.JDBCTransaction.toggleAutoCommit(JDBCTransaction.java:194)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:142)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:115)
at org.vectrics.hibernate.ThreadProperties.commitTransaction(ThreadProperties.java:503)
at org.vectrics.hibernate.ThreadProperties.forcedCommitAndClose(ThreadProperties.java:380)
at org.vectrics.struts.VectricsServlet.service(VectricsServlet.java:201)
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.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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2007-01-24 07:46:35,028 ERROR [org.hibernate.transaction.JDBCTransaction] JDBC commit failed
java.sql.SQLException: Connection handle has been closed and is unusable
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:537)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:524)
at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:333)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:139)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:115)
at org.vectrics.hibernate.ThreadProperties.commitTransaction(ThreadProperties.java:503)
at org.vectrics.hibernate.ThreadProperties.forcedCommitAndClose(ThreadProperties.java:380)
at org.vectrics.struts.VectricsServlet.service(VectricsServlet.java:201)
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.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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2007-01-24 07:46:35,119 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
2007-01-24 07:46:35,119 DEBUG [org.hibernate.jdbc.ConnectionManager] closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
2007-01-24 07:46:35,119 DEBUG [org.vectrics.common.db.AuditInterceptor] afterTransactionCompletion() called
2007-01-24 07:46:35,119 ERROR [org.vectrics.hibernate.ThreadProperties] Exception committing transaction - thread: TP-Processor2
org.hibernate.TransactionException: JDBC commit failed
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:130)
at org.vectrics.hibernate.ThreadProperties.commitTransaction(ThreadProperties.java:503)
at org.vectrics.hibernate.ThreadProperties.forcedCommitAndClose(ThreadProperties.java:380)
at org.vectrics.struts.VectricsServlet.service(VectricsServlet.java:201)
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
System Constant ( only thing I changed here is the URL for Public Site Settings)
http://jobs.nationalanesthesia.com/recruit/public/31100001/index.do
may or may not get a exception. If you do get one after one or 2 refresh the application comes up fine but your next click you will probably get a exception again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005766#4005766
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005766
19 years, 3 months
[JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss
by squibobblepants
Hi,
Been working on this, and can create the filled in html report, and load it to a byte[] in the Resource, but I keep hitting this error:
| javax.faces.el.EvaluationException: Exception while invoking expression #{reporting.file.render}
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
| at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
| at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:98)
| at org.jboss.seam.core.Pages.callAction(Pages.java:343)
| at org.jboss.seam.core.Pages.callActions(Pages.java:322)
| ...
| Caused by: javax.faces.el.EvaluationException: Exception getting value of property file of base of type : org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$99e6343c
| at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:96)
| ...
| Caused by: javax.faces.el.EvaluationException: Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$99e6343c, property: file
| at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:442)
| ...
| Caused by: java.lang.reflect.InvocationTargetException
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| ...
| Caused by: java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization
| at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:273)
| at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171)
| at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299)
|
The reporting bean is session scoped, and stateful. The Resource is (I think) working fine, I can create the new one, and print the contents to my log, but it fails when I try access it through pages.xml wiring.
I'm fairly new to seam so apologies if this is a stupid question.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005765#4005765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005765
19 years, 3 months