[jBPM Users] - errors with logging into console - jbpm-4.1
by arpan25
HI all,
I am using jbpm-4.1 and had installed mysql with it by using ant -Ddatabase=mysql demo.setup.jboss.I placed the mysql-connector.jar file into the lib folder, also changed build.xml user customizable property to mysql
But, When I Log into jbpm-console, I get Authentication failed error. Please help.
I have pasted the server log below :
13:12:08,820 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: socket creation error)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:173)
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160)
at org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebRealm.java:384)
at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLException: socket creation error
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
... 40 more
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260598#4260598
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260598
16 years, 5 months
[jBPM Users] - jbpm 4.1 - Taskform ( Task Variable )
by makarandk502
Can anybody guide me in this ?
I have attached following taskform ftl to some task in simple process
start - task - end
After running this process through jbpm console, I found that Task Variable 'interests' is set as single value even after selecting multiple values from form.
e.g If I select Arts, Politics , Task Variable should have value as "Arts, Politics" but in this case, value is taken as Politics.
My requirement is that I have a form with multiselect options. If I select more than a value, task variable should have both values. This can be accessed later on in java logic using array.
| <html>
| <body>
|
| <form action="${form.action}" method="POST" enctype="multipart/form-data">
|
| <SELECT MULTIPLE NAME="interests" SIZE="4">
| <OPTION > Arts
| <OPTION > Politics
| <OPTION > Science
| <OPTION > Computers and Internet
| </SELECT>
|
| <input type="submit" name="Done"/>
|
| </form>
| </body>
| </html>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260565#4260565
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260565
16 years, 5 months
[jBPM Users] - JBPM and JBPM-BPEL version
by stmod
Hello to all,
I have a JBOSS 4.2.2GA up and running.
A part I have not directly deployed and that is totally out of my control, uses this two jar for jbpm (put in jboss/server/default/lib)
jbpm-3.1.2.jar
jbpm-identity-3.1.2.jar
The db used is Hypersonic.
I would like to add to Jboss a Jbpm-bpel (I tried both jbpm-bpel 1.1GA and jbpm-bpel 1.1.1), but when i tried to install it following the instructions I got several errors realted to jbpm context probably due to conflicts in JBPM version.
With jbpm-bpel 1.1.1 I have exceptions as soon as i try to deploy the jbpm-bpel.ear
With jbpm-bpel 1.1GA I do not have any exception when i deploy the ear, but I got exceptions when I try to use any of the link on the jbpm-bpel console.
I cannot change the jar already used in the Jboss, so my question is
which version of Jbpm-bpel I have to use for not changing JBPM jars?
thanks in advance
stmod
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260477#4260477
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260477
16 years, 5 months