[JBoss jBPM] - Re: problem integrating JBPM & HIBERNATE
by yairfr
things i didn't mention :
i am working on SqlServer , and probably some of the definitions are wrong like the c3p0 , it connects to oracle instead to the sqlserver .
i have this hirarchy :
home ->
Config ->
hibernate.cfg.xml
hibernate.properties
where should the jbpm.cfg.xml sit ?
i put it in the config directory , in web-inf/classes ,
and it seems to take the default one , because it take the oracle properties.
| 16:49:50,247 INFO [STDOUT] 16:49:50,247 INFO [JbpmConfiguration] using jbpm configuration resource 'jbpm.cfg.xml'
| 16:49:50,637 INFO [STDOUT] 16:49:50,637 INFO [Environment] Hibernate 3.1
| 16:49:50,653 INFO [STDOUT] 16:49:50,653 INFO [Environment] loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, hibernate.cglib.use_reflection_optimizer=true, hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider, hibernate.cache.use_query_cache=true, hibernate.c3p0.max_size=20, hibernate.dialect=org.hibernate.dialect.Oracle9Dialect, hibernate.cache.use_second_level_cache=true, hibernate.c3p0.min_size=5, hibernate.query.substitutions=true 1, false 0, hibernate.connection.username=im1online, hibernate.connection.url=jdbc:oracle:thin:@MyIP:1521:MyPassowrd, hibernate.show_sql=true, hibernate.connection.password=****}
|
|
one other important point :
the first time i start the process , i see the insert hibernate command
in the log (to jbpm_processinstance), but when i try to do a query in the DB it seems that the table is locked .
the second time i try to start this process , i dont see the insert commands
in the log .
PLEASE HELP !!!!
i am preety desperate ....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126193#4126193
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126193
18 years, 2 months
[JBoss Tools (users)] - Re: Jboss Tools - Few first questions
by max.andersen@jboss.com
"trouby" wrote :
| 1) Right click on the server - I can't see a way to restart the server, only stop/start, is there a restart button somewhere?
|
When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks)
Note: that besides restart we also have the "touch" functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts.
anonymous wrote :
| 2) I upgraded Jboss with Jboss WS ver 2, but for some reason, when starting the server through 'Jboss Server View' the WS are not working, when I start the server via default 'run.bat' it works fine, what could be the reason for that?
|
Good question - I'm not much of webservices guy so don't know if WS 2 requires some special things for the startup. Could you please report it in our jira with info on what "WS are not working" means (e.g. stacktraces, examples, screenshots etc.)
anonymous wrote :
| 3) Because of q2, when the server is started not via tools, saving files are not being deployed to the server, is it possible to keep deploying files to the server when the server is off?
|
You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory.
anonymous wrote :
| 4) Is there any support for Seam's hot deploy with the tools?
|
the projects are preconfigured to have hotdeploy working (e.g. source and classes splitted up so action src goes to WEB-INF/dev which seam will pick up)
Thanks in advanced,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126190#4126190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126190
18 years, 2 months
[JBoss Seam] - Issue on page param security
by gus888
Hi,
After practicing on page param, I found that page param is very nice, especially on its bidirectional. However, I also found a problem when I used it about its security. For example, I list all my friends , then I click on one of them and get page param friendId=?, e.g. fiendId=3. On the url localhost/friendView.xhtml?friendId=3, if I manually change friendId=5 and press Enter from url, I will get person info of id=5, but the person of id=5 is NOT my friend. So how can I prevent this case? (user manually changes page param from url). Thank you very much in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126181#4126181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126181
18 years, 2 months
[JBoss Tools (users)] - Jboss Tools - Few first questions
by trouby
Hey,
I have few first questions regarding the plugin:
1) Right click on the server - I can't see a way to restart the server, only stop/start, is there a restart button somewhere?
2) I upgraded Jboss with Jboss WS ver 2, but for some reason, when starting the server through 'Jboss Server View' the WS are not working, when I start the server via default 'run.bat' it works fine, what could be the reason for that?
3) Because of q2, when the server is started not via tools, saving files are not being deployed to the server, is it possible to keep deploying files to the server when the server is off?
4) Is there any support for Seam's hot deploy with the tools?
Thanks in advanced,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126180#4126180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126180
18 years, 2 months