[jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM
intalio is targetted towards the business analyst. jbpm is targetted towards the business analyst *and* the developer without compromise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992408#3992408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Problems with .EAR file
Hello, I would like to deploy (Jboss) mein web-application inside an .EAR file. The problem is that my .EAR file ist wrong packaged. I mean the .WAR-file inside .EAR file ist wrong packedeg. There are no .jsp-files inside, only the class-files and xml-files In my project I have a file pages and inside pages are all my .jsp-files. Please help me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992410#3992410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: geam-gen generate-entities error
yes, this was a bug in the build of hibernatetools used in seamgen. i have fixed it in hibernatetools svn and is about to commit a fixed build to seamgen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992411#3992411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JEMS Installer 1.2.0.CR1: Errors when starting JBoss
Is this a clean install? Have you overwritten any previous installations of the application server? Could try to install it cleanly in another directory and see you you are getting the same errors? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992415#3992415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Why do none of the samples work in Tomcat?
I simply cannot get ANY of the samples to run in Tomcat. I started from a clean slate. New fresh download of Seam 1.0.1GA, new fresh install of Tomcat 5.5.20. Edit build.properties and point to my newly installed Tomcat (tried with jbossHasMyFacesLifecycleBug = true and false) cd examples/issues ant ant deploy.tomcat cd .../MyTomcat startup.sh/bat Tomcat starts up fine and deploys jboss-seam-issues.war without errors. However, on first access of http://localhost:8080/jboss-seam-issues/home.jsf, I get the following error (sorry...long) | ERROR 09-12 20:08:33,593 (Log4JLogger.java:error:119) -Exception in PhaseListener RESTORE_VIEW(1) beforePhase. | java.lang.IllegalStateException: Could not start transaction | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.begin(SeamExtendedManagedPersistencePhaseListener.java:77) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:35) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:103) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.init(InitialContext.java:197) | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:26) | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37) | at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:48) | at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:30) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.begin(SeamExtendedManagedPersistencePhaseListener.java:68) | ... 22 more | ERROR 09-12 20:08:33,609 (Log4JLogger.java:error:119) -Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:48) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:30) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
Version details please. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992418#3992418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: Illegal class modifiers
Full details of the issue are needed: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992419#3992419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Login encryption not working
There is no automatic encoding of login page passwords. That would require client side javascript or server side filter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992423#3992423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: configuring the number of allowed attempts for user
its logic you would need to code on top of a customization of a login module. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992424#3992424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Logout with basic authentication
Some browsers allow you to clear the login info. Digest auth should not have the same issue as the challenge from the server should change with each session. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992426#3992426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Obtaining SecurityManagerService failed jboss4.x
You most likely have jboss jars in you web app. There should never be any jboss server jars in application deployments. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992427#3992427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problems with hibernate.hbm2ddl.auto property set to updat
Hi, I noticed that my webapp stops working, when I change the hibernate.hbm2ddl.auto property of my persitence.xml file from create-drop to update. This used to work before and now I get the following exceptions, when I try to retrieve a set of entities to populate a DataModel for rendering a JSF Table in a JSP page: Caused by: javax.faces.el.EvaluationException: Bean: $Proxy663, property: dataModel ... 56 more Caused by: javax.ejb.EJBTransactionRolledbackException: ... 61 more Caused by: java.lang.ClassCastException: java.lang.String If I set the property to create-drop I can use the webapplication an get NO errors? Does anybody know what could be the cause? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992428#3992428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: how to disable password-stacking property
Remove the module-option View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992429#3992429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Custum LoginModule calling EJB in non-default security d
A login module in domain1 cannot call a secured ejb in domain1. You can specify the security domain at the bean level using the container-configuration setup of jboss.xml: | jboss |enterprise-beans | entity | ejb-nameAuditMappedEJB/ejb-name | local-jndi-namecmp2/audit/AuditMapped/local-jndi-name | configuration-nameSecured CMP 2.x EnitityBean/configuration-name | /entity |/enterprise-beans | |container-configurations | container-configuration extends=Standard CMP 2.x EntityBean | container-nameSecured CMP 2.x EnitityBean/container-name | security-domainjava:/jaas/other/security-domain | /container-configuration |/container-configurations | /jboss | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992430#3992430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JAAS doAs()
There is no requirement, but define the usecase in question. You can configure the use of Subject.doAs by using subject based permissions with a security manager. However, jboss containers are not going to automatically map existing authorization checks to jacc permissions. If jacc is being used, and a security manager is in use, it should just work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992431#3992431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss JAAs Architecture question
Servlet filters do not participate in authentication decisions. You need to use a tomcat valve to do this. http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992432#3992432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JAAS newbie - missing something that should be obvious
[EMAIL PROTECTED] wrote : | I'm not sure I fully understand the relationship between login-config.xml and client/auth.conf yet. I'm going to see if I can find more documentation on that. I have tried this both with an entry for SPDB in auth.conf and without an entry there, and it doesn't make a difference either way... | There is no relationship other than that credentials obtained from the client jaas configuration(auth.conf) are propagated to the server by the invocation transport and need to be valid in the target ejb security domain jaas config(login-config.xml). See: http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch8.chapter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992433#3992433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to get method permission roles from session bean
Its not supported from beans. You would have to write a custom interceptor. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992434#3992434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to secure only some functions of an EJB?
The unchecked permission type allows one to access a method without any specific permission. The caller still needs to be an authenticated user, or the security domain configured to allow unauthenticated callers. http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch8.chapter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992435#3992435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: Illegal class modifiers
OK ... this is as much deatils as I can provide: This is an example exception thrown: Exception in thread main java.lang.ClassFormatError: Illegal class modifiers in class test/cz/solari/shards/example/app1/EmployeeImpl: 0x431 | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | at java.lang.ClassLoader.defineClass(ClassLoader.java:465) | at cz.solari.shards.loader.Loader.findClass(Loader.java:136) | at cz.solari.shards.loader.Loader.loadClass(Loader.java:70) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at test.cz.solari.shards.source.DefaultSourceTest.main(DefaultSourceTest.java:23) | 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) It seems that the generated bytecode is incorrect. The code passed to defineClass method is generated using CtClass.toByteCode() method. The class may be altered (fields/methods may be added) by the custom ClassLoader however the class modifiers are never changed. It seems that Javassist doesn't throw any excetion during compilation, just the ClassLoader does. I tried it with both JDK 1.6 and JDK 1.5 with both of them the same exception is thrown. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992436#3992436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss authentication not responding after few hours
Upgrade to 4.0.3SP1 or latter to pickup this bottleneck fix: http://jira.jboss.com/jira/browse/JBAS-977 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992437#3992437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception
Somebody has some suggestion? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992438#3992438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
Also note that there is no reliance on shared subjects in the server post 4.0.3SP1 so the details of where you believe a shared subject is in use are needed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992439#3992439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Programmatic Login Advice
You cannot affect the web container security context via programatic login from the web component level. If you want to interact with the security context you need to integrate with the web container using either a tomcat valve, or a custom authenticator. In general it does not make sense for you do be able to do a jaas login in the context of a web app call. Session ids needs to be correlated, and authentication mechanisms like CLIENT-CERT and DIGEST require that the container interact with the caller side. http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalizeTomcatAuthenticators View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992441#3992441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Passing messages using JBoss Seam managed exception hand
What you are doing looks fine to me. There must be something outside of what you have shown that is getting in the way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992442#3992442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Referencing SLSB in SFSB does not work anymore in 4.0.5 GA
Hi all, I changed my server to 4.0.5.GA and deployed my EAR to the server. After that referencing a SLSB does not work anymore: The following code is used to reference the SLSB: | @EJB(mappedName=EAR-name/LanguageSession/local) | protected LanguageSessionInterface languageSessionInterface; | The header of LanguageSession is as follows: | @Stateless | @Local | (com.genloop.session.Baufi.Unterlagenmanagement.LanguageSessionInterface.class) | @SecurityDomain(xyz) | public class LanguageSession implements DomainSpecificIntf, Serializable, LanguageSessionInterface { | ... | Should I reference a bean another way? Thanks for infos, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992443#3992443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JavaScript Object Undefined in JMS ObjectMessage Topic Callb
I am experiencing an object undefined JavaScript error in my client side Seam Remoting topic subscription callback function. The function is executed when expected (when I publish an object message to the topic) but the message object's value property is undefined. I have also tried to use the message's object property which is also undefined. Can anyone point me to the right direction? Here is my JavaScript callback function: | function subscriptionCallback(message) { | var game = message.getValue(); | alert('Test: ' + game.getDescription()); | } | Here is my server side publishing code: | private void publish(Game game) { | try { | topicPublisher.publish(topicSession.createObjectMessage(game)); | } catch (Exception ex) { | throw new RuntimeException(ex); | } | } | Also, I notice an inconsistency in the chatroom example and the Contextual Components documentation. The chatroom example uses the getValue() method to retrieve the object from the message: | function channelMessageCallback(message) { | var ctl = getObject(channelDisplay); | | var actionDTO = message.getValue(); | but the documentation instructs us to use the getObject() method: anonymous wrote : | A TextMessage contains the text value in its text field (or alternatively call getText() on it), while an ObjectMessage contains its object value in its object field (or call its getObject() method). | Thanks for your advise. Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992445#3992445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - could not get id of: org.jboss.seam.framework.Home.instance
Does anyone have an idea why I am getting this error? I am experimenting with the new framework classes in the 1.1.0.CR release. java.lang.IllegalStateException: could not get id of: org.jboss.seam.framework.Home.instance | at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.entityRefsToIds(ManagedEntityIdentityInterceptor.java:149) | at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:83) | at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23) | at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33) | at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992446#3992446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: could not get id of: org.jboss.seam.framework.Home.insta
This only happens when my entities have validation errors. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992447#3992447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam dependent on JBoss Cache?
I'm using Seam 1.1CR2 with Glassfish v1 final. When I added: context-param | param-namecom.sun.faces.verifyObjects/param-name | param-valuetrue/param-value | /context-param | to figure out why the submitted form data in my application was lost, I ran into this: javax.faces.FacesException: Cant instantiate class: org.jboss.seam.ui.UICache. ... Caused by: javax.faces.FacesException: Cant instantiate class: org.jboss.seam.ui.UICache. ... Caused by: java.lang.NoClassDefFoundError: org/jboss/cache/CacheException Am I understanding correctly that Seam UI's caching only works under JBoss? I have not used the s:cache tag anywhere. How can I disable caching in Seam UI? The whole Seam UI thing seems largely undocumented. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992448#3992448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam dependent on JBoss Cache?
Seam supports many optional features. If you use those optional features, you should have the correct libraries to go along with it. If you don't use them, you do not need the libraries. If you try to load each and every optional component without having all the optional libraries, you will have problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992449#3992449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - LEFT JOIN, EXISTS or WHAT ELSE?
Hi, I have three Entity Beans: Client, Person and Cooperation of which the later may connect/reference the first two using a @OneToOne Relationship. I'm looking for a EJB QL Query, which will return all the Person's, which are not referenced/contained in Cooperation's. How would the Query look like? All the following queries produced errors or did not return anything: SELECT x.p FROM (SELECT p, cm FROM Cooperation AS cm LEFT JOIN cm.partner p) as x WHERE x.cm IS NULL OR FROM Partner p WHERE NOT EXISTS (SELECT cm FROM Cooperation cm WHERE cm.partner IS NOT NULL AND cm.partner=p) public class Person implements java.io.Serializable { @Id @NotNull @Length(min=5, max=40) String hostname; String firstName; String lastName; String street; ... } public class Client extends Person implements java.io.Serializable { @OneToOne(cascade={CascadeType.ALL}) @PrimaryKeyJoinColumn EmailAccount emailAccount; ... } public class Cooperation implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) long id; @OneToOne(cascade={CascadeType.ALL}) Client client; @OneToOne(cascade={CascadeType.ALL}) Partner partner; ... } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992450#3992450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: J2ME / jbossws 1.0.4
Hello, when i googled jbossws http chunking, found this link http://jira.jboss.org/jira/secure/ReleaseNote.jspa?projectId=12310050styleName=Htmlversion=12310952decorator=printable regards marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992451#3992451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam dependent on JBoss Cache?
anonymous wrote : If you try to load each and every optional component without having all the optional libraries, you will have problems. What optional component could I be loading here? And since there is no documentation for Seam UI, how am I supposed to know which libraries I need, even if I DID want to load them? As I explained, I did not use s:cache or anything that would require the use of JBoss Cache. I just wanted to test form submission. What optional components does that need? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992452#3992452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why do none of the samples work in Tomcat?
You probably aren't getting initialized correctly. Try ant clean deploy.tomcat and see if that solves the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992453#3992453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam dependent on JBoss Cache?
Yes, you are using it. You specified VerifyObjects instantiates *every* component. If you are going to ask for the component to be instantiated, you need to provide the supporting libraries. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992454#3992454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to configure multiple bind adresses
The solution you suggested works for one bind address. I would like jboss to bind to multiple addresses. Any clues how? Himadri View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992455#3992455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Does RARDeployer support scoped classloading?
Hi, Version: JBoss 4.0.3SP1. I can't seem to locate any instructions on configuring the classloader isolation for RAR deployments. It's possible for Java EE apps, EARs, WARs, but nothing mentions RARs. My case is the standalone RAR deployment. If it something obvious and I missed it, please forward me to the location. Thanks in advance, Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992456#3992456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
Just one question: In the final version, sema security will be integrated with the JSF/JAAS security context right? So when I implement an Authenticator the returned principal will be available through FacesContext, like any other tradicional JAAS login method. I ask this because if so I will wait for this method wich I think is more powerful in some ways. If not please tell me so so I can go in the traditinal j_security_chek method. David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992457#3992457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
btw sorry for my typing mistakes, new keyboard :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992458#3992458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam dependent on JBoss Cache?
Thanks, I forgot about all the Seam injected components that would be instantiated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992459#3992459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaScript Object Undefined in JMS ObjectMessage Topic C
You're right about getValue(), I'll update the documentation when I get a chance. As for the undefined Javascript error, are you importing the Game object in the page? Assuming the Seam component name is game: | script type=text/javascript src=seam/remoting/interface.js?game/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992460#3992460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
There will be integration with JSF/JAAS security, but I can't promise that it will be in the first release. Do you have a specific requirement/reason for having to use JAAS? And Mike to (hopefully) answer your question, the security API will provide a way to check roles and permissions within your pages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992461#3992461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to remove news and test pages permenantly
The News page is defined in the jboss-portal.sar/conf/data/default-object.xml file. In the source, you can find it at ./core/src/resources/portal-core-sar/conf/data/default-object.xml. The Test page is defined in the jboss-portal.sar/portal-samples.war/WEB-INF/default-object.xml file. In the source you can find it at ./core/src/resources/portal-samples-war/WEB-INF/default-object.xml Edit those files to remove the News and Test pages, and they should no longer show up when you recompile and deploy the portal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992462#3992462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring a new login page for Portal
The login page currently used is at jboss-portal.sar/portal-server.war/login.jsp. You can replace that file with your own jsp for login. Alternately, the WEB-INF/web.xml at that location contains the login-config tag, which you could modify to references your jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992463#3992463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Link between Apache HTTPD Server and JBoss App Server
See http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss And http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch9.chapt.html#d0e22413 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992464#3992464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - LinkageError when connecting to webservice
Hi, I'm trying to connect (using Apache Cactus ServletTestRunner) to a WS deployed on JBoss4.0.5GA, and I'm getting the following exception: | | loader constraints violated when linking org/jboss/util/xml/JBossEntityResolver class | | java.lang.LinkageError: loader constraints violated when linking org/jboss/util/xml/JBossEntityResolver class | at org.jboss.ws.jaxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:90) | at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:332) | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:400) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:147) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:129) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) | at org.jboss.ws.jaxrpc.ServiceImpl.init(ServiceImpl.java:96) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) | at com.mycompany.MyCactusTest.testFunctionalityAsWebservice(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) | at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119) | at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) | at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224) | at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) | at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) | at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224) | at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) | at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) | at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224) | at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:534) | | The code I'm invoking is: | | try { | URL url = new URL(WSDL_URL); | | QName qname = new QName(WS_NAMESPACE, WS_NAME); | | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | | () | } catch(Exception e) { | e.printStackTrace(); | }
[jboss-user] [Beginners Corner] - Re: need some help to get started
Have you already done some servlet and EJB programming? If so, I suggest you start with the Getting Started Guide: http://docs.jboss.org/jbossas/getting_started/v5/html/. Another good getting started reference is the book JBoss at Work: http://www.amazon.com/JBoss-at-Work-Practical-Guide/dp/0596007345, though it does not cover EJB3. If you have not done any servlet programming, look at Core Servlets and JSPs at http://www.coreservlets.com/. The price is right (free!) but the version of servlets/JSPs is rather dated. If you have not done any EJB programming, I recommend just starting off with SEAM. See http://labs.jboss.com/portal/jbossseam/?prjlist=false And of course, you will want to read the JBoss docs at http://labs.jboss.com/portal/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992466#3992466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Exploded archives vs packages
Advantages of deploying a packaged file: everything is in a single file; you can deploy using jmx-console (or twiddle). Advantages of deploying an exploded directory: you can easily change/add various files (such as JSPs, CSS, HTML) and have them picked up automatically without redeploying the application (note that this does not work with class files); JBoss does not have to unpack the files into the tmp directory. Yes, the exploded directory must have the same suffix as the packaged file. The main deployer user uses suffix to determine what kind of directory it is and then invokes the correct deployer (actually, it asks each deployer is it recognizes the file, and the first that say 'yes' gets to deploy it). Other than that, the contexts are the same as if you had unzipped the packaged file. Yes, if you have to be careful if you switch between exploded and packaged, because a simple copy/overwrite will not work. In my Ant script, I typically attempt to delete both the file and directory before copying over whatever it is I am deploying. Unless I am always doing exploded, in which case Ant's copy task copies only the updated files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992467#3992467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Link between Apache HTTPD Server and JBoss App Server
Please do not post the same question to multiple forums. See my reply in the Beginner's Corner. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992469#3992469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: could not get id of: org.jboss.seam.framework.Home.insta
Validation errors in the UI (s:validate), or from Hibernate? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992470#3992470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
JBoss Web is the new web server based on the Apache Portable Runtime. This web server handles not only servlets/JSPs, but can also be configured to run PHP (I've done that) and .Net (I haven't done this yet). The jbossweb-tomcat55.sar is a version of Tomcat 5.5 used by JBoss to handle static and dynamic web content (html, css, gifs, jsps, servlets, etc). This is not JBoss Web. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992472#3992472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jPDL dtd or xsd description attribute for @Begin
This schema definition is quite out of date, I need to get on and update it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992471#3992471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
[EMAIL PROTECTED] wrote : Also note that there is no reliance on shared subjects in the server post 4.0.3SP1 so the details of where you believe a shared subject is in use are needed. | Strange, I'm using jboss-4.0.5.GA (build from source package). It definitely relies on shared subjects. The version tag from JaasSecurityManager.java: anonymous wrote : | @version $Revision: 57203 $ | BTW, there's also another small bug in JaasSecurityManager.java - no check for null 'domainCache' in getPrincipal() method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992473#3992473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
sbryzak2 wrote : There will be integration with JSF/JAAS security, but I can't promise that it will be in the first release. Do you have a specific requirement/reason for having to use JAAS? I don't. I checked into JAAS and it seemed way more complicated than what I need. For me, the use case I need is simple: Log in users based on a simple call-back object, which will itself check passwords in the DB or using the EntityManager. Restrict access to web pages based on the user type Render or don't render certain components of web pages based on user type. For example, in a web forum, for a moderator show a lock thread button, but for ordinary users, don't show it. That's all I need! I can do that quite easily with Seam and a Filter now, but it would be great if it were integrated. Oh, and a bit of extra niceness I would like, but don't need: be able to annotate methods on various classes to say that only certain user roles can access them. So there might be methods on objects that an Administrator can access, but a Customer can't even use the method, so if I mess up, the object itself has a layer of protection. That would be nice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992474#3992474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Redeployment of JaasSecurityContext fails
Is there any fundamental reason why it is not meant to be redeployed? I tried to change this parameter to 'true', now JaasSecurityContext can be redeployed but my application throws ClassCastExceptions. I know that this is a classloader issue and I'm planning to investigate and possibly fix it if is possible without huge effort. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992475#3992475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
See the jbossweb section in the jboss.org projects for more info as well. http://labs.jboss.com/portal/jbossweb/?prjlist=false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992476#3992476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
And the usage that results in the shared subject is? When a jboss security aspect authenticates against the security manager, it obtains a copy of the subject and uses that for subsequent authorization checks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992477#3992477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: LinkageError when connecting to webservice
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992478#3992478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
It doesn't perform deep copy of Subjects, so the copied subject shares its role collection with the original subject. Deep copy is controlled by the flag which is never set to 'true': | /** The flag to indicate that the Subject sets need to be deep copied*/ |private boolean deepCopySubjectOption = false; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992479#3992479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ICEFaces Seam Portlet
Thanks for the example! I almost got it working with Liferay-portal, except for the small thing that the ICE javascript seems to be missing... ice-tags work also, but on the javascript console i see error messages like: | Error: iceSubmitPartial is not defined | Source: http://localhost:8080/c/portal/layout?p_l_id=PRI.1004.3 | Line: 1 | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992481#3992481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Does RARDeployer support scoped classloading?
Not on it's own. There is no jboss-ra.xml (or equivalent) for RAR's as with the EAR and WAR that would allow for scoped classloading isolation. There is nothing to prevent you from including the RAR inside an EAR and scoping things that way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992480#3992480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
You need to set the DeepCopySubjectMode to true on the org.jboss.security.plugins.JaasSecurityManagerService in conf/jboss-service.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992482#3992482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection
The bug has been solved on 1.5 branch (using that workaround I told you of) only for the default weaving configuration(which is, actually, the optimized one with classic instrumentation, and not gen advisor instrumentation, differently from what I told you before). Please, follow these instructions: http://wiki.jboss.org/wiki/Wiki.jsp?page=BuildingJBossAOPFromSubversion But use this repository address, with anonymous svn: http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_5/ This is a temporary fix, and it's been made only on this branch. As soon as the problem is completely addressed, on all versions, I'll post a new message here. If you have problems with making your example work with this version, let me know. Thanks! Flavia View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992483#3992483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception
Which version of JBoss AOP are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992484#3992484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Exception thrown on seam-booking-icefaces
Hi, I deployed seam-booking-icefaces from CVS-20061202(icefaces1.5.1), but when I run it I often got the following exceptions. I really don't know what is the reason, since I run the original example code. Thank you very much in advance. 18:27:47,781 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.NullPointerException | at org.jboss.seam.contexts.ServerConversationContext.flush(ServerConversationContext.java:181) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:345) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:248) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRender(AbstractSeamPhaseListener.java:232) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:89) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:453) | at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:421) | at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:277) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992485#3992485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ADF help
Hi all, I posted this message on another forum but no answer yet. I don't know whether I posted on the wrong forum or no body has encountered same problem as mine so I tried it in this forum. I am new to JBoss and all web application framework thing. I 'd like to use ADF Faces and so I tried to install it. I had JBoss 4.0.5 with EJB3.0 profile setup and got simple hello world application running. But when I want to have ADF Faces, I encounter problem when making Jboss able to load ADF Faces. I downloaded adf-faces-api-10_1_3_0_4.jar, adf-faces-impl-10_1_3_0_4.jar and retrieve adfshare35495.jar from the adf-faces-demo.war (since I cant find nowhere having adfshare.jar to download). In web.xml, I added: filter-nameadfFaces/filter-name filter-classoracle.adf.view.faces.webapp.AdfFacesFilter/filter-class filter-mapping filter-nameadfFaces/filter-name servlet-nameFaces Servlet/servlet-name /filter-mapping servlet-nameresources/servlet-name servlet-classoracle.adf.view.faces.webapp.ResourceServlet/servlet-class servlet-mapping servlet-nameresources/servlet-name url-pattern/adf/*/url-pattern /servlet-mapping and in faces-config.xml with the following lines: default-render-kit-id oracle.adf.core /default-render-kit-id I put the adf*.jar in JBoss/server/deploy/jbossweb-tomcat55.sar (because iif I put those jar in lib directory of my application or of Jboss/lib, I got some class not found for AdfFacesHandler). Following is the message once I restart the same Hello World web application with nothing changes except those above in web.xml and faces-config.xml. 01:23:57,595 ERROR [StartupServletContextListener] Error initializing ServletContext java.lang.IllegalArgumentException: Class oracle.adfinternal.view.faces.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536) at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458) at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141) at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at
[jboss-user] [JBoss Seam] - Re: ICEFaces Seam Portlet
The javascript was not found because there was some problems with the context name. I had renamed the WAR to icefaces.war, but for some reason icefaces was trying to retrieve the Icefaces javascript from wrong web-context, localhost:8080/HelloWorldIcefacesSeamPortlet/xmlhttp/ when the real one was localhost:8080/icefaces/xmlhttp/. After renaming the WAR to HelloWorldIcefacesSeamPortlet.war it started to work ( i changed the name of the portlet also). I wonder how icefaces determines where to lookup the resources (javascript etc) it needs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992487#3992487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ICEFaces Seam Portlet
The next thing i'll try is to have drag-n-drop across different portlets.. i wonder how it goes ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992488#3992488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Deploying an EJB3 MDB as stopped?
Would you mind posting your code? I could use what you wrote. Thanks! David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992489#3992489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception
JBoss Application Server: 4.05 GA JBoss AOP:1.5.2 The standalone mode run correctly. I make tests using a class with the method main. The problem only occurs when the system is in application server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992490#3992490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Concurrency bug in JaasSecurityManager
Yes, that solves the problem. I was worried that this setting can break something subtle (because it is undocumented). So I choose to ask here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992491#3992491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why do none of the samples work in Tomcat?
Thanks Norman. I tried that what feels like a hundred times, which is when I went with the new download of Seam. In my frustration, I decided to try it with JBoss AS 4.0.5, but surprise, surprise, none of them work there either. In AS, it deploys fine as well but on accessing the home page (same as in OP) all I get is a 404 error. No exception or error messages in console or any log file...just dead. I'm going to upgrade my JDK from 1.5.0_09 to 1.5.0_10 to see if it helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992492#3992492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception thrown on seam-booking-icefaces
Yes, this is an intermittent problem that I have reported to the ICEfaces folks. They were having trouble reproducing it, but if you go let them know that you have seen it too, then perhaps they will have another shot ;-) To make it go away, log out and back in again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992493#3992493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why do none of the samples work in Tomcat?
Your problem is EXACTLY what the problem would be if you didn't do a clean before building for jboss and then building for tomcat. (which is exactly what you showed as your sequence of steps) If you do a clean tomcat build, you will not get the same error. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992494#3992494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: struts tag does not reinit in jboss. How to resolve?
I made some test, and found that the destroy() method of tag was not be called by the container every time when I open the jsp page. But the destroy() was called every time when I reopen the same page in my WEBLOGIC envirment. I think the jboss container should be config to fix the problem. please give me a suggestion? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992495#3992495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - getting Exception in thread main javax.ejb.EJBException: o
Exception in thread main javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7 at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190) at org.jboss.remoting.Client.invoke(Client.java:525) at org.jboss.remoting.Client.invoke(Client.java:488) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133) at $Proxy1.getProperties(Unknown Source) at com.zap.test.TestZapMgr.main(TestZapMgr.java:35) Caused by: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7 at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:641) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73) at com.zap.session.ZapMgrBean.getProperties(ZapMgrBean.java:30) 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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.MappingException: No Dialect mapping for JDBC
Exception in thread main javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7 at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190) at org.jboss.remoting.Client.invoke(Client.java:525) at org.jboss.remoting.Client.invoke(Client.java:488) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133) at $Proxy1.getProperties(Unknown Source) at com.zap.test.TestZapMgr.main(TestZapMgr.java:35) Caused by: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7 at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:641) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73) at com.zap.session.ZapMgrBean.getProperties(ZapMgrBean.java:30) 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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at