[JBoss jBPM] - Oracle9i, JTA, XA-DataSources
by mailinator
Hi,
is there something i should know about the JBPM Ear and an Oracle Database ?
I have seen on the web that we should use xa-datasources instead of local-tx-datasources ?
The fact is that i have a process definition, i deploy it on the database with the eclipse plugin but when trying to access it with code :
JbpmConfiguration jbpmConfiguration=JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try {
String processName = "Acces";
ProcessInstance processInstance = jbpmContext.newProcessInstance(processName);
} finally {
jbpmContext.close();
}
I have hibernate-JTA exception.
If someone have already run on those issues, please help.
I think there is some misconfiguration on my part.
If someone could explain step by step how to configure oracle9i datasources and transaction manager to get jbpm running, it will be greatly appreciated.
Regards,
O.M.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069050#4069050
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069050
18Â years, 8Â months
[JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter
by roth
Hi, sorry for coming back to this so late, I got distracted by some other work.
Maybe I am misunderstanding something, but I still think there is a bug around. The filter you posted works and all, but in a real-world scenario, that's not what one would use for a filter. The filter is constructed by the code, one would not directly add LastName, FirstName for a filter, or only that specific user would be found.
If you look at the log snippets I pasted in a previous post, here is what happens: The user enters his credentials in the login box. The code finds the record for that user, and from that record, it takes the DN. From that DN (which may contain a comma), it constructs the search filter to search for roles. Now, if the DN does contain a comma, no roles are found, because the code does not escape the comma correctly. There is no way I can fix this by adapting the filters in my config, or am I missing something?
Thanks,
Tobias
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069046#4069046
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069046
18Â years, 8Â months
[JNDI/Naming/Network] - VERY URGENT:Cant Invoke the Remote Method by REFLECTIOn
by shah.gaurav
Please Help me in this issue...ITS VERY URGENT.
I m migrating application from IBM WEBSPHERE to JBOSS 4.0.5.
I was using PROVIDER_URL as corbaloc:iiop:loaclhost:2809
Nw for jboss I m using jnp://localhost:1099
with this i m able to get EJB's HomeObject and RemoteObject(after setting true in call-by-value attribute of ear-deployer.xml file in deault/deploy folder)
But i cant invoke the remote methods by REFLECTION like
Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1});
...
getting error as java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-07-29 19:44:56,338 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
Caused by: java.io.NotSerializableException: org.apache.log4j.Logger
Pls help in this...its very urgent.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069041#4069041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069041
18Â years, 8Â months