[JBoss jBPM] - problem with jbpm-3.3.1.GA and jboss 4.2.3
by aminoux
hi, i'm new in jbpm, i installed jboss 4.2.3 and jbpm-3.3.1.GA.
when i start the process( all the examples ), the page show me a 404 error status, and it don't show the tasks. the following error are displayed in the log of jboss
| 2009-02-26 18:20:32,687 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] No FacesServlet found in deployment descriptor - bypassing configuration
| 2009-02-26 18:20:32,968 ERROR [STDERR] 250 [main] INFO org.jboss.resteasy.plugins.providers - Added DataSourceProvider
| 2009-02-26 18:20:32,968 ERROR [STDERR] 250 [main] INFO org.jboss.resteasy.plugins.providers - Added DefaultTextPlain
| 2009-02-26 18:20:33,031 ERROR [STDERR] 313 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBXmlRootElementProvider
| 2009-02-26 18:20:33,031 ERROR [STDERR] 313 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBElementProvider
| 2009-02-26 18:20:33,046 ERROR [STDERR] 328 [main] INFO org.jboss.resteasy.plugins.providers - Added JAXBXmlTypeProvider
| 2009-02-26 18:20:33,062 ERROR [STDERR] 344 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.IIOImageProvider
| 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonJAXBElementProvider
| 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonXmlTypeProvider
| 2009-02-26 18:20:33,125 ERROR [STDERR] 407 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.json.JsonXmlRootElementProvider
| 2009-02-26 18:20:33,140 ERROR [STDERR] 422 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.MimeMultipartProvider
| 2009-02-26 18:20:33,156 ERROR [STDERR] 422 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.YamlProvider
| 2009-02-26 18:20:33,171 ERROR [STDERR] 453 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetXmlRootElementProvider
| 2009-02-26 18:20:33,171 ERROR [STDERR] 453 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetJAXBElementProvider
| 2009-02-26 18:20:33,187 ERROR [STDERR] 469 [main] INFO org.jboss.resteasy.plugins.providers - Adding org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetXmlTypeProvider
|
and later, thease problems are displayed:
| 2009-02-26 18:21:28,562 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] Entering RenderResponsePhase
| 2009-02-26 18:21:28,562 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] About to render view /ua/login-example.xhtml
| 2009-02-26 18:21:31,609 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.action.ResponseActions' and class 'org.jboss.gravel.action.ui.UIResponseActions'
| 2009-02-26 18:21:31,796 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-action.taglib.xml
| 2009-02-26 18:21:31,859 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Entry' and class 'org.jboss.gravel.common.ui.UICollectionEntry'
| 2009-02-26 18:21:31,890 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.compat.DataTable' and class 'org.jboss.gravel.compat.ui.UIDataTable'
| 2009-02-26 18:21:31,890 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.compat.DataTableColumn' and class 'org.jboss.gravel.compat.ui.UIDataTableColumn'
| 2009-02-26 18:21:31,906 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-compat.taglib.xml
| 2009-02-26 18:21:31,921 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Repeat' and class 'org.jboss.gravel.data.ui.UIRepeat'
| 2009-02-26 18:21:31,937 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.data.InputFile' and class 'org.jboss.gravel.data.ui.UIInputFile'
| 2009-02-26 18:21:31,937 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.data.InputHidden' and class 'org.jboss.gravel.data.ui.UIInputHidden'
| 2009-02-26 18:21:31,953 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Properties' and class 'org.jboss.gravel.data.ui.UIProperties'
| 2009-02-26 18:21:31,953 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-data.taglib.xml
| 2009-02-26 18:21:31,968 ERROR [STDERR] 26 févr. 2009 18:21:31 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/Program%20Files/Java/jboss-4.2.3.GA/server/default/deploy/jbpm/jsf-console.war/WEB-INF/lib/gravel-1.0.0.GA.jar!/META-INF/gravel-nav.taglib.xml
| 2009-02-26 18:21:31,984 DEBUG [javax.enterprise.resource.webcontainer.jsf.application] added component of type 'gravel.Simple' and class 'org.jboss.gravel.simple.ui.UISimple'
|
|
|
anyone can help me???
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213534#4213534
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213534
17 years, 1 month
[Security & JAAS/JBoss] - Re: Minimal JBoss config to use GSSAPI/Kerberos acceptSecCon
by quinntaylor
Glad to hear you've gotten a bit further, although neither of us has it working in JBoss yet...
Actually, I strongly suspect that JBoss is honoring the keyTab entry in the GSS config file, but isn't allowing the GSS call to createCredential() to access the keytab file. The code I'm having issues with was written completely independent of JBoss, and it works perfectly when compiled to a jar file and run from the Terminal. (I'm curious whether your code also works if you invoke it directly, and not through JBoss. If so, it's probably safe to say that the JBoss security manager is the problem.) When I run it in JBoss, the client blocks while waiting for a web service response, and the server ends up waiting for user input (username/password, as I mentioned).
When I do a stack trace on the pid for JBoss (using `jstack' on OS X), the thread that's handling the request is buried in I/O functions under a heap of authentication calls, including javax.security.auth.login.LoginContext.login(), org.jboss.security.auth.spi.UsersRolesLoginModule.login(), and org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(), with a few calls in between each of these.
Since clients must present a username and password to gain access to the web service, I'm trying to figure out how to get JBoss to just allow the code to do whatever it needs to with the keytab file. This wasn't an issue with the previous rev of the code, since it used some very crufty and hackish JNI to do the GSS-API tasks, but the new code is pure Java.
I'm in the middle of reading the resource mentioned in this thread/sticky. Hopefully it will help with getting JBoss to get out of the way for this particular code. :-)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213531#4213531
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213531
17 years, 1 month
[EJB 3.0] - IllegalAccessError, EJB3, and JBoss 5
by cretz
I have a local iface like so
| @Local
| public interface UserDao {
|
| public User authenticate(String username, String password);
|
| }
|
And an implementation like so
| @Stateless(name = "UserDao")
| public class UserDaoImpl extends DaoBase implements UserDao {
|
| public User authenticate(String username, String password) {
| return get(User.class, "User.authenticate", username, password);
| }
|
| }
|
and the DaoBase class like so
| public abstract class DaoBase {
| <U> U get(Class<U> clazz, String queryName, Object... params) {
| //does stuff here
| }
| }
|
yet for some reason, when my EJB impl accesses a package private method on the super class, I get an exception:
| java.lang.IllegalAccessError: tried to access method [package].DaoBase.get(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; from class [package].UserDaoImpl
|
The way it is executed is from a seam-based war (deployed in a different ear on the same app server). The reference to this SLSB is obtained over JNDI. The war has a client jar for the aforementioned EJB w/out the implementation.
This worked on JBoss 4. Any idea what I am doing wrong on JBoss 5 to prevent package private super-class method access from my implementation?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213520#4213520
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213520
17 years, 1 month