[JBoss jBPM] - Re: jbpm on oracle
by AJanz
the following statement causes the error
but when i execute it from an normal sql client everything is ok
2008-03-26 09:50:00,938 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_>0 and job0_.DUEDATE_<=? and job0_.ISSUSPENDED_<>1 order by job0_.DUEDATE_ asc]
java.sql.SQLException: ORA-00923: Schlüsselwort FROM nicht an erwarteter Stelle gefunden
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:114)
at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138898#4138898
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138898
18 years, 1 month
[JBoss Portal] - WSRP: IBM Websphere Portal Server
by asaitov
Has anyone tried to use Websphere Portal Server 6.0 as a producer and JBoss Portal 2.6.4 as a remote portlet consumer? When I try to do it, I always get an error like this:
javax.xml.rpc.soap.SOAPFaultException: EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
Obviously, WPS wants JBoss to call initCookie() method without sending InvalidCookieFault message. After I have recompiled org.jboss.portal.wsrp.consumer.InvocationHandler class making JBoss invoke initCookie() in case the error message contains a "EJPWC1104E" string, I get a new InvokerUnavailableException saying "Couldn't init cookies!" Can anyone tell me he faced with and solved this problem? I just want to stop digging the ground and start planting the flowers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138893#4138893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138893
18 years, 1 month
[JBoss Portal] - JOSSO1.7 and JBoss Portal 2.6.4 - Authorization
by CarstenRudat
Hi all,
I tried to integrate JOSSO to JBoss Portal 2.6.4 (ha deployment on JBoss 4.2.2.GA all-config). I followed first the instructions at josso.org (http://josso.org/confluence/display/JOSSO1/JBoss+4.2.html) and after that, I changed the integration like I'm supposed to do it from chapter 20.4. (JOSSO - Java Open Single SignOn) of the reference docs.
I have to mention, that I still have a "sso-session-manager", a "sso-session-store", "sso-session-id-generator", "sso-audit-manager" and a "sso-event-manager" in my josso-gateway-config.xml (as described at josso.org). Additionally, I have two valves in tomcat's server.xml, one for JBoss Portal SSO and one for JOSSO.
Now, after that, I can logon through JOSSO (the redirect in logon.jsp points me to a JOSSO logon form) and after typeing user : user, I'm logged on as "user" ("User portlet" and "Current users"-portlet says so, too). But I don't have access to those portlets that are configured to used by users with the role "User" (same as if I log on as admin:admin, then I have no admin area). So, it seams that the JAAS-Subject has no roles added.
Do I have to configure something else to have authorization with JOSSO, or does this not work at all? Or do I have to remove the stuff from josso-gateway-config.xml?
Thanks for help!
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138891#4138891
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138891
18 years, 1 month