[JBoss jBPM] - Change DB, Error in login
by jalamos
Hi, change the Hypersonic DB for de SQL server and configure the datasource jbpm-ds,hibernate.cfg.xml, standardjaws.xml, login-config.xml, run the script in database and add new user, use jtds-1.2.2 driver but I have errors in login.
.The response always is "user or password is
invalid".
What should I do?
thanks a lot.
anonymous wrote : :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
| :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
| :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
| :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
| :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
| :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
| :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
| :58:42,546 INFO [NamingHelper] JNDI InitialContext properties:{}
| :58:42,546 INFO [DatasourceConnectionProvider] Using datasource: java:/JbpmSS
| :58:42,734 INFO [SettingsFactory] RDBMS: Microsoft SQL Server, version: 09.00.1399
| :58:42,734 INFO [SettingsFactory] JDBC driver: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase, version: 1.2.2
| :58:42,765 INFO [Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect
| :58:42,765 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
| :58:42,781 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-
| vel cache is not recommended)
| :58:42,781 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| :58:42,781 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| :58:42,781 INFO [SettingsFactory] Scrollable result sets: enabled
| :58:42,796 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
| :58:42,796 INFO [SettingsFactory] Connection release mode: auto
| :58:42,796 INFO [SettingsFactory] Default batch fetch size: 1
| :58:42,796 INFO [SettingsFactory] Generate SQL with comments: disabled
| :58:42,796 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| :58:42,796 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| :58:42,812 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| :58:42,812 INFO [SettingsFactory] Query language substitutions: {}
| :58:42,812 INFO [SettingsFactory] Second-level cache: enabled
| :58:42,812 INFO [SettingsFactory] Query cache: disabled
| :58:42,812 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| :58:42,828 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| :58:42,828 INFO [SettingsFactory] Structured second-level cache entries: disabled
| :58:42,828 INFO [SettingsFactory] Statistics: disabled
| :58:42,843 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| :58:42,843 INFO [SettingsFactory] Default entity-mode: pojo
| :58:42,890 INFO [SessionFactoryImpl] building session factory
| :58:44,375 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| :58:44,687 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
| :58:44,687 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
| :58:44,812 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
| :58:44,828 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])]
| :58:44,843 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
| :58:44,859 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
| :58:44,859 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
| :58:44,859 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
|
| :59:06,625 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
| FO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
| :59:06,843 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I
| /jsf-ui.taglib.xml
| :59:06,890 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/
| avel-compat.taglib.xml
| :59:06,890 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I
| /jsf-html.taglib.xml
| :59:06,921 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/
| avel-data.taglib.xml
| :59:06,937 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| tf.taglib.xml
| :59:06,968 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I
| /jsf-core.taglib.xml
| :59:07,000 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| identity.taglib.xml
| :59:07,015 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| tfl.taglib.xml
| :59:07,031 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| tf-compat.taglib.xml
| :59:07,062 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/
| avel-simple.taglib.xml
| :59:07,109 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| core.taglib.xml
| :59:07,125 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I
| /jstl-fn.taglib.xml
| :59:07,156 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/
| avel-action.taglib.xml
| :59:07,171 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I
| /jstl-core.taglib.xml
| :59:07,187 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-IN
| tfl-compat.taglib.xml
| :59:07,203 ERROR [STDERR] 30-abr-2008 10:59:07 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/
| avel-nav.taglib.xml
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147930#4147930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147930
17 years, 11 months
[JBoss jBPM] - Unable to login to jbpm-console
by chip_schoch
JBoss 4.2.2.GA, Jpdl-3.2.2
I changed the dialect to Sybase and deployed jbpm-console. I am able to deploy processes through the workbench but I cannot login to the jbpm-console. I commented out the identity stuff in the hibernate config and I changed the jaas security domain in jboss-web.xml to my own (one that I use for another application. When I attempt to login I get a 403 error.
type Status report
|
| message Access to the requested resource has been denied
|
| description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
Now if I try to login with a bad username I get a bad username message. When I login with a valid username (valid in my domain) I get the access violation. Does anyone know where page access is configured? I looken in access.properties and even added my role to it but it did not make any difference. Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147928#4147928
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147928
17 years, 11 months
[JBoss Portal] - OpenSSO - how to login via login-link?
by CarstenRudat
Hi all,
I still have problems with OpenSSO. I'm running JBoss Portal 2.6.4 (clustered) on JBoss 4.2.2.GA (all config).
I followed the instructions on http://blog.jboss-portal.org/2007/10/jboss-portal-with-opensso-and-opends... and installed OpenSSO V1 Build 4 and OpenDS.
I had to add following to the users stored in OpenDS:
| dn: uid=user.0,ou=People,dc=opensso,dc=java,dc=net
| changetype: modify
| add: objectclass
| objectclass: sunFMSAML2NameIdentifier
|
Now, I'm forwarded to the OpenSSO-Login-page as soon as I call http://myjbossserver.com:8080/portal without clicking on the login-link. I really would like to see the first portal-page without being logged in, and I don't know how to do that...
My config changes are as follows:
server/all/jboss-web.deployer/server.xml:
| <Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" />
|
server/all/portal-server.war/WEB-INF/context.xml:
| <Valve className="org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve"
| loginURL="http://myjbossserver.com:8080/opensso"
| logoutURL="http://myjbossserver.com:8080/opensso/UI/Logout"
| appendLoginGoto="true"
| appendLogoutGoto="true"
| authType="FORM"
| />
|
server/all/conf/AMConfig.properties:
| com.iplanet.services.debug.level=message
| com.iplanet.services.debug.directory=/tmp
| com.iplanet.am.serverMode=false
| com.iplanet.am.sdk.caching.enabled=false
| com.sun.identity.idm.cache.enabled=false
| com.sun.identity.sm.cache.enabled=true
| com.sun.identity.sm.sms_object_class_name=com.sun.identity.sm.jaxrpc.SMSJAXRPCObject
| com.iplanet.am.naming.url=http://myjbossserver.com:8080/opensso/namingservice
| com.iplanet.am.notification.url=@NOTIFICATION_URL@
| com.sun.identity.agents.app.username=amadmin
| com.iplanet.am.service.password=
| com.iplanet.am.service.secret=AQIC5wM2LY4SfcyImS3T1DzgtBnOSHf5p9Ab
| am.encryption.pwd=
| com.sun.identity.client.encryptionKey=
| com.iplanet.security.encryptor=com.iplanet.services.util.JCEEncryption
| com.sun.identity.idm.remote.notification.enabled=true
| com.iplanet.am.sdk.remote.pollingTime=1
| com.sun.identity.sm.notification.enabled=true
| com.sun.identity.sm.cacheTime=1
| com.iplanet.am.server.protocol=http
| com.iplanet.am.server.host=myjbossserver.com
| com.iplanet.am.server.port=8080
| com.iplanet.am.services.deploymentDescriptor=/opensso
| com.iplanet.am.console.protocol=@CONSOLE_PROTOCOL@
| com.iplanet.am.console.host=@CONSOLE_HOST@
| com.iplanet.am.console.port=@CONSOLE_PORT@
| com.iplanet.am.console.deploymentDescriptor=@CONSOLE_DEPLOY_URI@
| com.iplanet.am.console.remote=@CONSOLE_REMOTE@
| com.iplanet.am.cookie.name=iPlanetDirectoryPro
| com.iplanet.am.session.client.polling.enable=true
| com.iplanet.am.session.client.polling.period=180
| com.iplanet.am.admin.cli.certdb.dir=@CONTAINER_CERTDB_DIR@
| com.iplanet.am.admin.cli.certdb.prefix=@CONTAINER_CERTDB_PREFIX@
| com.iplanet.am.admin.cli.certdb.passfile=@BASEDIR@/@PRODUCT_DIR(a)/config/.wtpass
| com.iplanet.am.jssproxy.trustAllServerCerts=false
| com.iplanet.am.jssproxy.checkSubjectAltName=false
| com.iplanet.am.jssproxy.resolveIPAddress=false
| com.iplanet.am.jssproxy.SSLTrustHostList=false
| com.sun.identity.agents.server.log.file.name=amRemotePolicyLog
| com.sun.identity.agents.logging.level=NONE
| com.sun.identity.agents.notification.enabled=false
| com.sun.identity.agents.notification.url=@NOTIFICATION_URL@
| com.sun.identity.agents.polling.interval=3
| com.sun.identity.policy.client.cacheMode=subtree
| com.sun.identity.policy.client.clockSkew=10
| com.sun.identity.monitoring=off
| com.sun.identity.urlconnection.useCache=false
| com.sun.identity.plugin.configuration.class=com.sun.identity.plugin.configuration.impl.ConfigurationInstanceImpl
| com.sun.identity.plugin.datastore.class.default=com.sun.identity.plugin.datastore.impl.IdRepoDataStoreProvider
| com.sun.identity.plugin.session.class=com.sun.identity.plugin.session.impl.FMSessionProvider
| com.sun.identity.saml.xmlsig.signatureprovider.class=com.sun.identity.saml.xmlsig.AMSignatureProvider
| com.sun.identity.saml.xmlsig.keyprovider.class=com.sun.identity.saml.xmlsig.JKSKeyProvider
| com.sun.identity.saml.xmlsig.keystore=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/keystore.jks
| com.sun.identity.saml.xmlsig.storepass=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/.storepass
| com.sun.identity.saml.xmlsig.keypass=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/.keypass
| com.sun.identity.saml.xmlsig.certalias=test
| com.sun.identity.saml.checkcert=on
| com.sun.identity.saml.xmlsig.c14nMethod=http://www.w3.org/2001/10/xml-exc...
| com.sun.identity.saml.xmlsig.xmlSigAlgorithm=
| com.sun.identity.saml.xmlsig.transformAlg=http://www.w3.org/2001/10/xml-e...
| com.sun.identity.saml2.xmlenc.EncryptionProvider=com.sun.identity.saml2.xmlenc.FMEncProvider
| com.sun.identity.saml2.xmlsig.SignatureProvider=com.sun.identity.saml2.xmlsig.FMSigProvider
| com.sun.identity.saml2.crl.check=false
| com.sun.identity.saml2.crl.check.ca=false
| com.sun.identity.liberty.ws.soap.certalias=
| com.sun.identity.liberty.ws.soap.staleTimeLimit=300000
| com.sun.identity.liberty.ws.soap.messageIDCacheCleanupInterval=60000
| com.sun.identity.liberty.ws.soap.supportedActors=http://schemas.xmlsoap.o...
| com.sun.identity.liberty.ws.jaxb.namespacePrefixMappingList=S=http://sche...
| com.sun.identity.liberty.ws.jaxb.packageList=
| com.sun.identity.liberty.ws.wsc.certalias=
| com.sun.identity.liberty.ws.ta.certalias=
| com.sun.identity.liberty.ws.trustedca.certaliases=
| com.sun.identity.liberty.ws.security.TokenProviderImpl=com.sun.identity.liberty.ws.security.LibSecurityTokenProvider
| com.sun.identity.liberty.interaction.wspRedirectHandler=http://myjbossserver.com:8080/opensso/WSPRedirectHandler
| com.sun.identity.liberty.interaction.wscSpecifiedInteractionChoice=interactIfNeeded
| com.sun.identity.liberty.interaction.wscWillInlcudeUserInteractionHeader=yes
| com.sun.identity.liberty.interaction.wscWillRedirect=yes
| com.sun.identity.liberty.interaction.wscSpecifiedMaxInteractionTime=80
| com.sun.identity.liberty.interaction.wscWillEnforceHttpsCheck=no
| com.sun.identity.loginurl=http://myjbossserver.com:8080/opensso/UI/Login
| com.sun.identity.liberty.authnsvc.url=http://myjbossserver.com:8080/opensso/Liberty/authnsvc
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147908#4147908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147908
17 years, 11 months