[Tomcat, HTTPD, Servlets & JSP] - Browser hangs intermittently when request for images are for
by gbansal80
We are using JBoss v4.2.3.ga and Apache v 2.2.9 and mod_jk v 1.2.26 are being used as the load balancer.
We have observed that sometimes JBoss fails to send response for a image file. At this stage the browser hangs but on clicking the refresh button the page is rendered completely.
On analysing the network packets we saw that GET request for image is send by the browser but no response is received. We also checked the logs of apache and mod_jk but there are no logs for this particular image request. Then I shutdown the JBoss server and response code 503 was send to the browser. At this stage browser comes out of hang state. Also the logs for this request can be seen in both Apache and mod_jk logs.
It is not that browser hangs only in case of one particular image but the behaviour is completely random. The images are packaged inside jar files of Trinidad components.
It seems that there is some I/O failure in JBoss-tomcat because of which request doesn't get completed. The thread dump of JBoss doesn't point to any deadlocks on server side.
What could be the possible reasons for this behaviour?
Is it a known issue in JBoss v4.2.3.ga and is there is a fix for this?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231852#4231852
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231852
17 years, 2 months
[JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing
by mabimal
Hello matalle,
I just checked and Map<String, ?> arg2, Map<String, ?>
was error, and i just changed to Map sharedState, Map options
was compiled successful here .
I changed in the login-config.xml file too, but when i attempt to login, it succeeds and land on http://server:8080/portal/auth/dashboard, with HTTP:500 No Authenticated User, but in the console, there is the output,
Admin,
Authenticated
when logged in as admin,
and
User
Authenticated
when logged in as user.
Is there anything missing?
Regards,
Mabimal
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231845#4231845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231845
17 years, 2 months
[JBoss Tools (users)] - Re: Overriding an EJB datasource for testing
by nickarls
I'm trying a similar setup with a Seam WAR.
I have a prod persistence.xml which defines a java:/ProdDatasource. In the same dir I have a persistence.xml with
| hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
| hibernate.hbm2ddl.auto=validate
|
and then in my test project I have in my bootstrap/persistence.properties
| hibernate.dialect=org.hibernate.dialect.HSQLDialect
| hibernate.hbm2ddl.auto=create-drop
|
and by DB testng.xml does
| <parameter name="datasourceJndiName" value="java:/DefaultDS" />
| <parameter name="database" value="HSQL" />
| <parameter name="binaryDir" value="" />
|
and the import in the test class
| @Override
| protected void prepareDBUnitOperations()
| {
| beforeTestOperations.add(new DataSetOperation("path/to/my/BaseData.xml"));
| }
|
but the strange result is that I get Oracle create-errors and then I get another error for table not found when the import is attempted.
Any pointers are appreciated,
Nik
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231838#4231838
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231838
17 years, 2 months
[JBoss AOP] - JSP expression language & JSP scriptlets, different AOP resu
by alen_ribic
I have a Servlet that sets an Action Bean instance as an attribute called 'actionBean'.
I also have successfully setup an AOP interceptor (with load time weaving) to intercept the User bean's getName() method.
| class User {
| private String name;
|
| // getters/setters
| }
| class ActionBean {
| private User user;
|
| // getters/setters + other action methods
| }
|
| class MyServlet extends HttpServlet {
| public service(HttpServletRequest req, HttpServletRequest resp) {
| User user = new User();
| user.setName("Bob");
| ActionBean actionBean = new ActionBean();
| actionBean.setUser(user);
| request.setAttribute("actionBean", actionBean);
| ...
| }
| }
|
In the JSP context I try the following JSP scriptlet:
| <%
| ActionBean actionBean = (ActionBean)request.getAttribute("actionBean");
| User user = actionBean.getUser();
| out.print("user: " + user.getName());
| %>
|
And the call works 100% with the AOP interceptor being called.
However, I try the same with JSP expression language:
${actionBean.user.name}
And the calls works BUT the AOP interceptor does not get called.
Somehow it seems that the JSP expression language and JSP scriptlets get evaluated differently and as a consequence my AOP interceptor does not get called.
Any help would be greatly appreciated.
-Alen
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231835#4231835
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231835
17 years, 2 months
[Tomcat, HTTPD, Servlets & JSP] - Example in JSP expression language and JSP scriptlets, diffe
by alen_ribic
I have a Servlet that sets an Action Bean instance as an attribute called 'actionBean'.
I also have successfully setup an AOP interceptor (with load time weaving) to intercept the User bean's getName() method.
| class User {
| private String name;
|
| // getters/setters
| }
| class ActionBean {
| private User user;
|
| // getters/setters + other action methods
| }
|
| class MyServlet extends HttpServlet {
| public service(HttpServletRequest req, HttpServletRequest resp) {
| User user = new User();
| user.setName("Bob");
| ActionBean actionBean = new ActionBean();
| actionBean.setUser(user);
| request.setAttribute("actionBean", actionBean);
| ...
| }
| }
|
In the JSP context I try the following JSP scriptlet:
| <%
| ActionBean actionBean = (ActionBean)request.getAttribute("actionBean");
| User user = actionBean.getUser();
| out.print("user: " + user.getName());
| %>
|
And the call works 100% with the AOP interceptor being called.
However, I try the same with JSP expression language:
| ${actionBean.user.name}
|
And the calls works BUT the AOP interceptor does not get called.
Somehow it seems that the JSP expression language and JSP scriptlets get evaluated differently and as a consequence my AOP interceptor does not get called.
Any help would be greatly appreciated.
-Alen
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231833#4231833
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231833
17 years, 2 months
[Persistence, JBoss/CMP, Hibernate, Database] - Error in named query: ProcessInstancesWaitingForEvent
by VincentGR
Hi all,
(If this post should be better located on the ESB forum, please excuse me)
I'm experiencing a strange problem when deploying an EJB3 that makes use of hibernate. Every time I deploy it, I get this error:
| ERROR [SessionFactoryImpl] Error in named query: ProcessInstancesWaitingForEvent
| org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)]
| at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
|
I tried several strategies:
1. using JPA annotations (@Entity + @EntityManager), I followed exactly this tutorial: http://schuchert.wikispaces.com/EJB3+Tutorial+2+-+Session+Bean+and+JPA
2. Using plain old Hibernate XML configuration files (I mimicked the management.esb sample found in JbossESB)
3. For both of these, generating the schema automatically or creating it by hand
With all strategies, my database is created OK. But when I deploy the EJB3, I get the error I mentionned. I can't find a way to deploy my EJB !!! If someone can help me, he/she is welcome !
Environment:
- Jboss 4.2.3 GA
- JbossESB 4.5 GA
- Windows XP SP2
- JDK 1.6_12
- Using the default HSQL database provided with Jboss 4.2.3
Complete deployment trace:
| 10:57:08,394 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
| 10:57:08,394 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore with dependencies:
| 10:57:08,394 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=DataSourceBinding
| 10:57:08,394 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore
| 10:57:08,597 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
| 10:57:08,613 INFO [Ejb3Configuration] [PersistenceUnit: crisisStore] META-INF/orm.xml found
| 10:57:08,629 INFO [QueryBinder] Binding Named query: ProcessInstancesWaitingForEvent => select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)
| 10:57:08,629 INFO [HbmBinder] Mapping class: com.thalesgroup.diva.business.domain.Crisis -> CRISIS
| 10:57:08,629 INFO [HbmBinder] Mapping class: com.thalesgroup.diva.business.domain.Damage -> DAMAGE
| 10:57:08,660 INFO [HbmBinder] Mapping collection: com.thalesgroup.diva.business.domain.Crisis.damages -> DAMAGE
| 10:57:08,754 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 10:57:08,754 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 10:57:08,754 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 10:57:08,754 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 10:57:08,754 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 10:57:08,769 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 10:57:08,769 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 10:57:08,769 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 10:57:08,769 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 10:57:08,769 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 10:57:08,769 INFO [SettingsFactory] JDBC batch size: 15
| 10:57:08,769 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 10:57:08,769 INFO [SettingsFactory] Scrollable result sets: enabled
| 10:57:08,769 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 10:57:08,769 INFO [SettingsFactory] Connection release mode: auto
| 10:57:08,769 INFO [SettingsFactory] Default batch fetch size: 1
| 10:57:08,769 INFO [SettingsFactory] Generate SQL with comments: disabled
| 10:57:08,769 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 10:57:08,769 INFO [SettingsFactory] Order SQL inserts for batching: disabled
| 10:57:08,769 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 10:57:08,769 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 10:57:08,769 INFO [SettingsFactory] Query language substitutions: {}
| 10:57:08,769 INFO [SettingsFactory] JPA-QL strict compliance: enabled
| 10:57:08,769 INFO [SettingsFactory] Second-level cache: enabled
| 10:57:08,769 INFO [SettingsFactory] Query cache: disabled
| 10:57:08,769 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 10:57:08,769 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 10:57:08,769 INFO [SettingsFactory] Cache region prefix: CrisisStoreEJB_jar,crisisStore
| 10:57:08,769 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 10:57:08,769 INFO [SettingsFactory] Statistics: disabled
| 10:57:08,769 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 10:57:08,769 INFO [SettingsFactory] Default entity-mode: pojo
| 10:57:08,769 INFO [SettingsFactory] Named query checking : enabled
| 10:57:08,769 INFO [SessionFactoryImpl] building session factory
| 10:57:08,785 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore
| 10:57:08,785 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 10:57:08,863 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore
| 10:57:08,863 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
| 10:57:08,894 INFO [SchemaUpdate] Running hbm2ddl schema update
| 10:57:08,894 INFO [SchemaUpdate] fetching database metadata
| 10:57:08,894 INFO [SchemaUpdate] updating schema
| 10:57:08,925 INFO [TableMetadata] table found: PUBLIC.CRISIS
| 10:57:08,925 INFO [TableMetadata] columns: [_id, _nature, _initialdescription]
| 10:57:08,925 INFO [TableMetadata] foreign keys: []
| 10:57:08,925 INFO [TableMetadata] indexes: [sys_idx_58]
| 10:57:08,941 INFO [TableMetadata] table found: PUBLIC.DAMAGE
| 10:57:08,941 INFO [TableMetadata] columns: [_crisis__id, _details, _nature]
| 10:57:08,941 INFO [TableMetadata] foreign keys: [fk7993778f64f687f1]
| 10:57:08,941 INFO [TableMetadata] indexes: [sys_idx_62, sys_idx_60]
| 10:57:08,957 INFO [SchemaUpdate] schema update complete
| 10:57:08,957 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 10:57:08,988 ERROR [SessionFactoryImpl] Error in named query: ProcessInstancesWaitingForEvent
| org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)]
| at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
| at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
| at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
| at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
| at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
| at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
| at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
| at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
| at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
| at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
| at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:402)
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:352)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
| at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
| 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy161.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy33.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
| at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
| at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| 10:57:09,004 WARN [ServiceController] Problem starting service persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore
| javax.persistence.PersistenceException: org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
| at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
| 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy161.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy33.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
| 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
| at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
| at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| Caused by: org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:365)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
| ... 170 more
| 10:57:09,019 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 10:57:09,019 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=CrisisStoreEJB.jar,name=CrisisDAOBean,service=EJB3 with dependencies:
| 10:57:09,019 INFO [JmxKernelAbstraction] persistence.units:jar=CrisisStoreEJB.jar,unitName=crisisStore
| 10:57:09,019 INFO [EJB3Deployer] Deployed: file:/P:/DiVA/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/Local_JBoss_4.2.3_GA/deploy/CrisisStoreEJB.jar/
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231817#4231817
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231817
17 years, 2 months
[JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing
by matallen
here's some free code that should output the roles a user has. Make the change to use your jaas login module first, then worry if you still cannot access the dash.
And remember to change the login-config.xml in the portal.sar/conf to use you new module.
let me know how you get on...
Mat
| package gov.tfl.ors.portal.security;
|
| import java.security.Principal;
| import java.util.Enumeration;
| import java.util.Map;
| import java.util.Set;
|
| import javax.security.auth.Subject;
| import javax.security.auth.callback.CallbackHandler;
| import javax.security.auth.login.LoginException;
|
| import org.jboss.portal.identity.auth.DBIdentityLoginModule;
| import org.jboss.security.SimpleGroup;
|
| public class MyDBIdentityLoginModule extends DBIdentityLoginModule {
|
| @Override
| public void initialize(Subject arg0, CallbackHandler arg1, Map<String, ?> arg2, Map<String, ?> arg3) {
| super.initialize(subject, callbackHandler, sharedState, options);
| }
|
| @Override
| public boolean login() throws LoginException {
| return super.login();
| //now the protected variable "subject" has been set
| }
|
| @Override
| public boolean commit() throws LoginException {
| boolean result=super.commit();
| Enumeration<Principal> roles=getRoles();
| while (roles.hasMoreElements()) {
| Principal principal=roles.nextElement();
| System.out.println(principal.getName());
| }
| return result;
| }
|
| private Enumeration<Principal> getRoles() throws LoginException{
| for (Principal principal : subject.getPrincipals()) {
| if (principal instanceof SimpleGroup && "Roles".equals(principal.getName())){
| return ((SimpleGroup)principal).members();
| }
| }
| throw new LoginException("unable to find roles for user "+ getUsername());
| }
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231813#4231813
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231813
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Struts + ClassLoading
by thanz@gmx.at
Hello
We are using JBoss 5.0.1 and we try to make a new Web App.
So, first we have an EAR with all jars in it.
Then we have a WAR which contains just the core.
The EAR get deployed, we can start it and we see the page(index).
But when we try to add struts(1.x.x) we get some problems.
Fist, when we add struts.jar to the EAR the class-Loader doesnt find it.
We get the error :
| 2009-05-19 09:54:10,156 WARN [org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE] (main) Cannot load servlet class: org.apache.struts.action.ActionServlet
|
When we add struts.jar to WEB-INF/lib in the WAR he finds it.
In our other Project we have all jars in the EAR and everything works fine.
Our 2nd Problem :
In struts-config.xml we defined that the MessageResourceFactory Class is in a specific package. We added that JAR to the EAR but he cant find it.
| package not found xx.xx.xxx.xxx_xxxxx.xxx.mymessageresource
| defined package: xx.xx.xxx.xxx_xxxxx.xxx.mymessageresource
| loadClass org.apache.struts.util.MessageResourcesFactory resolve=false
|
In the other Project everything works fine :
| package not found xx.xx.xxx.xxx_xxxxx.xxx.mymessageresource
| defined package: xx.xx.xxx.xxx_xxxxx.xxx.mymessageresource
| loaded class locally class xx.xx.xxx.xxx_xxxxx.xxx.mymessageresource.MyMessageResourceFactory{cl=BaseClassLoader@1499c0f{vfszip:/D:/ENTWICKLUNG/dv-java/jboss-5.0.1.GA/server/default/deploy/xxxxxx.ear/} codeSource=(jar:file:/D:/ENTWICKLUNG/dv-java/jboss-5.0.1.GA/server/default/deploy/xxxxxx.ear!/xxx_xxxxxxx.jar <no signer certificates>)}
|
So why does on Project find the Class in the Jar, and the other doesnt ?
We are using the same Jboss, we just wanted to do a new EAR.
Anyone can help ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231792#4231792
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231792
17 years, 2 months
[Beginners Corner] - Re: URGENT! java.lang.IllegalStateException: Failed to find
by tmac42
I've the same problem but i've fixed it.
i'm working with JBOSS 4.0.
personaly in my pc IIS services was running, and that was the problem, so i've stopped it : start -> configuration pannel -> administration tools -> services -> stop IIS
after that it works!! when I started the client
my client code :
public static void main(String[] args) {
| String str = "This is the string being counted in the EJB.";
| Hashtable environment = new Hashtable();
|
| environment.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
|
| environment.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
|
| environment.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
|
| Ccount cc = null;
| try {
| CcountHome home = CcountUtil.getHome(environment);
| cc = home.create();
| System.out.println(str);
| System.out.println(" Upper case: " + cc.upper(str));
| System.out.println(" Lower case: " + cc.lower(str));
| System.out.println(" Spaces: " + cc.spaces(str));
| System.out.println(" Total: " + cc.characters(str));
|
| } catch (Exception e) {
|
| e.printStackTrace();
|
| }
|
|
|
|
| }
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231781#4231781
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231781
17 years, 2 months
[JBoss jBPM] - JBPM4 - Asyn_continous problem, asyncExecute activity failed
by galanfish
hello everyone,
i've defined a process like this:
ClientProcessDefinition p = ProcessDefinitionBuilder.startProcess("test")
|
| .startActivity("start", StartActivity.class)
| .transition("fork", "fork")
| .initial()
| .endActivity()
|
| .startActivity("fork", ForkActivity.class)
| .transition("one", "one")
| .transition("two", "two")
| .endActivity()
|
| .startActivity("one", OneActivity.class)
| .asyncExecute() // asyncExecute
| .transition("join", "join")
| .endActivity()
| .startActivity("two", OneActivity.class)
| .asyncExecute() // asyncExecute
| .transition("join", "join")
| .endActivity()
|
| .startActivity("join", JoinActivity.class)
| .transition("end", "end")
| .needsPrevious()
| .endActivity()
|
| .startActivity("end", EndActivity.class)
| .endActivity()
|
| .endProcess();
i deployed the process definition and then tested it via the executionService, exception occurs:
### EXCEPTION ###########################################
| 2009-05-19 11:09:43,906 SEV | [JobExecutorThread] exception in job executor thread
| org.hibernate.WrongClassException: Object with id: 11 was not of the specified subclass: org.jbpm.pvm.internal.job.TimerImpl (loaded object was of wrong class class org.jbpm.pvm.internal.model.op.ExecuteActivityMessage)
| at org.hibernate.loader.Loader.instanceAlreadyLoaded(Loader.java:1243)
| at org.hibernate.loader.Loader.getRow(Loader.java:1195)
| at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
| at org.hibernate.loader.Loader.doQuery(Loader.java:701)
| at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
| at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
| at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
| at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
| at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:63)
| at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
| at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
| at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
| at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163)
| at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.java:213)
| at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.java:202)
| at org.hibernate.engine.CascadingAction.getAllElementsIterator(CascadingAction.java:415)
| at org.hibernate.engine.CascadingAction.access$100(CascadingAction.java:27)
| at org.hibernate.engine.CascadingAction$1.getCascadableChildrenIterator(CascadingAction.java:125)
| at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:294)
| at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)
| at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)
| at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
| at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
| at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelete(DefaultDeleteEventListener.java:307)
| at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(DefaultDeleteEventListener.java:246)
| at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:141)
| at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:775)
| at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:758)
| at org.hibernate.engine.Cascade.deleteOrphans(Cascade.java:355)
| at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:324)
| at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)
| at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)
| at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
| at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
| at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:131)
| at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:122)
| at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
| at org.jbpm.pvm.internal.tx.HibernateSessionResource.prepare(HibernateSessionResource.java:57)
| at org.jbpm.pvm.internal.tx.StandardTransaction.commit(StandardTransaction.java:109)
| at org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:68)
| at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:64)
| at org.jbpm.pvm.internal.service.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:41)
| at org.jbpm.pvm.internal.service.RetryInterceptor.execute(RetryInterceptor.java:37)
| at org.jbpm.pvm.internal.jobexecutor.JobExecutorThread.run(JobExecutorThread.java:66)
anyone help me...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231780#4231780
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231780
17 years, 2 months
[JBoss Messaging] - Multiple clients and message types - selectors?
by cpslo1999
I am designing a system that will generate notifications of different types of events and will have different systems subscribed to it. All clients will only be interested in a subset of these events, although overlapping interest between clients is fully expected. Also, I need to add the ability to publish (or re-publish) certain events to individual clients to the exclusion of others that are generally interested the same published events.
I basically control both the notifying system as well as the client systems so most options are available to me. All of them are currently using EJB3 annotations.
I had originally thought that I could use a single topic to publish all notifications and have the clients use selectors to select only the event types interesting to each. In order to provide the ability to publish to specific clients, I thought I could use selectors there as well. Unfortunately, it appears that having dynamic or at least a programmatic selector is not possible (at least I haven't found a way to do this yet).
So the question is two-fold.
1) Is there a way to set/change a MDB selector programmatically?
2) Is there a better approach to creating this communication scheme?
Thanks,
Josh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231749#4231749
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231749
17 years, 2 months