[jboss-user] [JBoss jBPM] - Re: DatabaseServerLoginModule question

2009-01-04 Thread jeremiah.lumontod

thanks ronald. here's what i did in my web.xml:





Secure Area
/sa/*
GET
POST


admin
user
manager
hr
sales
support
it
Talent scout
Legal adviser
Band member
Record producer
Artist development
Songwriter
Musician
Video production
Artist
Administrator
participant










View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199400#4199400

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199400
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - DatabaseServerLoginModule question

2009-01-03 Thread jeremiah.lumontod
i have the following tables:

jbmp_id_group

1   G   sales   organisation
2   G   manager security-role   
3   G   hr  organisation
4   G   admin   security-role   
5   G   usersecurity-role   
6   G   support security-role   
7   G   talentscout security-role   
8   G   legaladvisersecurity-role   
9   G   bandmember  security-role   
10  G   recordproducer  security-role   
11  G   artistdevelopment   security-role   
12  G   songwriter  security-role   
13  G   musiciansecurity-role   
14  G   videoproduction security-role   
15  G   artist  security-role   
16  G   administrator   security-role   
17  G   manager security-role   
18  G   participant security-role   
19  G   administrator   security-role   


jbmp_id_user


1   U   userpowe...@bland.com   powellb
2   U   manager rumpo...@bland.com  rumpoleh
3   U   admin   memb...@bland.com   memberb
4   U   shipper dr...@bland.com dredr
5   U   support dr...@bland.com support
101 U   powellb powe...@bland.com   powellb
102 U   rumpolehrumpo...@bland.com  rumpoleh
103 U   memberb memb...@bland.com   memberb
104 U   dredr   dr...@bland.com dredr
105 U   harrisr harr...@bland.com   harrisr
106 U   lennonj lenn...@bland.com   lennonj
107 U   hendrixjhendr...@bland.com  hendrixj
108 U   welleso well...@bland.com   welleso
109 U   monetc  mon...@bland.commonetc
110 U   admin   ad...@bland.com admin
111 U   manager mana...@bland.com   manager


jbmp_id_membership


52  M   1   1
45  M   1   5
51  M   2   1
41  M   2   2
50  M   2   3
42  M   2   4
44  M   2   5
49  M   3   3
43  M   3   4
48  M   3   5
46  M   4   3
47  M   4   5
53  M   5   1
54  M   5   2
55  M   5   3
56  M   5   4
57  M   5   5
72  M   101 15
58  M   101 16
73  M   102 15
59  M   102 16
74  M   103 15
60  M   103 16
75  M   104 15
61  M   104 16
76  M   105 15
62  M   105 16
77  M   106 15
63  M   106 16
78  M   107 15
64  M   107 16
79  M   108 15
65  M   108 16
80  M   109 15
66  M   109 16
71  M   110 15
69  M   110 16
67  M   110 16
70  M   111 15
68  M   111 16



userid 1 to 5 can login, the rest cant in jboss 4.2.2 jbpm-3.3.0 mysql. please 
someone tell me why?







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199348#4199348

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod
got it.

it has something to do with the following tables:

jbpm_id_group
jbpm_id_user
jbpm_id_membership




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199246#4199246

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199246
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod

Additional error logs from console:





14:49:25,703 ERROR [STDERR] Jan 2, 2009 2:49:25 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/MET
A-INF/gravel-compat.taglib.xml
14:49:25,750 ERROR [STDERR] Jan 2, 2009 2:49:25 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/MET
A-INF/gravel-data.taglib.xml
14:49:25,765 ERROR [STDERR] Jan 2, 2009 2:49:25 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/MET
A-INF/gravel-nav.taglib.xml
14:49:25,796 ERROR [STDERR] Jan 2, 2009 2:49:25 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/MET
A-INF/gravel-simple.taglib.xml
14:49:26,296 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/core.taglib.xml
14:49:26,375 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/identity.taglib.xml
14:49:26,390 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/tf-compat.taglib.xml
14:49:26,406 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/tf.taglib.xml
14:49:26,421 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/tfl-compat.taglib.xml
14:49:26,437 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-console-jbpm4jsf-3.3
.0.GA.jar!/META-INF/tfl.taglib.xml
14:49:26,484 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!
/META-INF/jsf-core.taglib.xml
14:49:26,515 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!
/META-INF/jsf-html.taglib.xml
14:49:26,546 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!
/META-INF/jsf-ui.taglib.xml
14:49:26,578 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!
/META-INF/jstl-core.taglib.xml
14:49:26,578 ERROR [STDERR] Jan 2, 2009 2:49:26 PM com.sun.facelets.compiler.Tag
LibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm
/jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!
/META-INF/jstl-fn.taglib.xml







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199196#4199196

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod
Hello Ronald

here's the message when i login:



HTTP Status 403 - Access to the requested resource has been denied

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.
JBossWeb/2.0.1.GA


my guess is my javaserver faces configuration (web.xml and faces-config.xml). i 
just started playing with jbpm and i kinda like it. my future plan is to 
integrate it with seam. but im currently stocked in here.


can you help what might be the problem? i played around with version 3.2.2 of 
jbpm using hypersonic and eclipse 3.2.1 and everything is good, now i shifted 
to eclipse 3.4.1 and jbpm 3.3.0 using mysql since i like what upgrades / 
additional stuff they've added. deploying is good, accessing the web is my 
problem.

thank you for your time






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199194#4199194

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Process Ending Events

2009-01-02 Thread jeremiah.lumontod

when you design a process, that's the point that you assign the code for an 
event. but when you check the process, its an xml file. it means upon 
deployment the framework will check any class attached to a certain event. in 
my idea, they are implementing dependency injection here and it means it is 
dynamic. so maybe somewhere in the code you can access instance of whatever 
class is this then inject your class.

i havent read the source code though, i am currently trying to understand how 
to make jbpm-console functional as i am not javaserver faces expert, just a 
nood in this area and this implementation combines hibernate, jaas, jboss 
administration skills to make this work (just my understanding though).

i hope its a small help to you!




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199160#4199160

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199160
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Process Ending Events

2009-01-01 Thread jeremiah.lumontod

i read it from somewhere that we can attach a java code in a task upon entry 
and upon exit. if you're after the entire process has executed, then you can 
attach the code at the last task.


did it answer the question? 








View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199156#4199156

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199156
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - websale of 3.2.2 to 3.3.0

2009-01-01 Thread jeremiah.lumontod

somebody here successfully migrated websale sample apps from 3.2.2 to 3.3.0 
using jboss 4.2.2 / mysql / jbpm-3.3.0? how did you do it guys? can you share?




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199155#4199155

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - cannot build distribution

2009-01-01 Thread jeremiah.lumontod

i tried to build the distribution module of jbpm-3.3.0 using maven but it says 
the following are missing: 

jbpm-enterprise.jar
jbpm-identity.jar
jbpm-jpdl.jar

how can i fix it? what are the steps required? what are the files required?








View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199154#4199154

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - cannot login in jbpm-console using jbpm-3.3.0 mysql jboss4.2

2009-01-01 Thread jeremiah.lumontod

I can deploy the process (since i can see it in mysql database) but i cannot 
login at jbpm-console. it seems that something is missing in javaserver faces 
configuration

my web.xml:





http://java.sun.com/xml/ns/j2ee";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; >


   

  
 org.jbpm.web.BootstrapListener
  
   


Enable the JSF servlet. See faces-config.xml for Faces-specific 
configuration
Faces Servlet
javax.faces.webapp.FacesServlet
1




Faces Servlet
*.jsf




Faces Servlet
/sa/pi/*



 Use Documents Saved as *.xhtml 
javax.faces.DEFAULT_SUFFIX
.xhtml



 Facelets debug output 
facelets.DEVELOPMENT
true


  
  
facelets.LIBRARIES

/WEB-INF/jbpm.taglib.xml;/WEB-INF/jbpm-tf.taglib.xml
  

  
  
facelets.RESOURCE_RESOLVER

org.jbpm.webapp.taskforms.TaskFormsResourceResolver
  

  
  
com.sun.faces.disableVersionTracking
true
  



index.jsp



 This is the GDP's deployer servlet 
GDP Deployer Servlet
org.jbpm.web.ProcessUploadServlet
1



GDP Deployer Servlet
/upload/*


  
GDP Deployer Servlet
/uploadDefinition
  




admin


user


  
participant
  
  
manager
  
  
administrator
  




Secure Area
/sa/*
GET
POST


user



  

  Common Pages
  /common/*
  GET
  POST


  participant
  manager
  administrator

  

  

  Participant Pages
  /main/*
  GET
  POST


  participant

  

  

  Search Pages
  /search/*
  GET
  POST


  participant

  


  

  Process Pages
  /process/*
  GET
  POST


  participant

  

  

  Task Pages
  /task/*
  GET
  POST


  participant

  

  

  Report Pages
  /report/*
  GET
  POST


  participant

  







FORM

/ua/login.jsf
/ua/login.jsf?error=true












Closes the jBPM configuration on servlet context destruction, 
releasing
application resources. This listener should appear after the job 
executor
launcher to avoid reopening the configuration.

org.jbpm.web.JbpmConfigurationCloser




  
  
CloseJbpmConfigurationServlet
org.jbpm.web.CloseJbpmConfigurationServlet
1
  




Logical name of the data source that provides connections to the 
persistence service.
Must match the hibernate.connection.datasource property in the 
Hibernate 
configuration file.

jdbc/JbpmDataSource
javax.sql.DataSource
Container




Logical name of the factory that provides JMS connections to the 
message service.
Required for processes that contain asynchronous continuations.

jms/JbpmConnectionFactory
javax.jms.ConnectionFactory
Container




Link to the local entity bean that implements the scheduler 
service. Required for
processes that contain timers.

ejb/TimerEntityBean
Entity
org.jbpm.ejb.LocalTimerEntityHome
org.jbpm.ejb.LocalTimerEntity
TimerEntityBean




The message service sends job messages to the queue referenced 
here. To ensure 
this is the same queue from which the JobListenerBean receives 
messages, the 
message-destination-link element points to a common logical 
destination, JobQueue.


jms/JobQueue
javax.jms.Queue
Produces
JobQueue










my faces-config.xml:







http://java.sun.com/xml/ns/javaee";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd";
  version="1.2">


  

  

  
jbpmBean
org.jbpm.webapp.bean.JbpmBean
request
  

  
identityBean
org.jbpm.webapp.bean.IdentityBean
request

  jbpmBean
  #{jbpmBean}

  

  
applicationBean

org.jbpm.webapp.bean.ApplicationBean
application
  

  

  
taskInstanceBean

org.jbpm.webapp.bean.TaskInstanceBean
request

  jbpmBean
  #{jbpmBean}


  pageBean
  #{pageBean}


  ta