[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to add additional jar files path into jboss classpat
Hi peter, thanks for the help... :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224980#4224980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal
You can try to make a script with Ant or using Maven to allow Eclipse to build the right artifact you need (JAR,WAR or EAR). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224988#4224988 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Forms Authtentication not forwarding to correct page.
I am implementing forms authentication, but after I login I am forwarded to my .css file. If I launch my web browser and type in something like this: http://localhost/intranet/projects.faces I am forwarded to my login page. I proceed to enter my credentials, then hit submit. Jboss authenticates me. However, I am forward to my applications .css file, which resides in intranet/css. This doesn't make any since to me. I am expecting it to forward to the intended url, which is http://localhost/intranet/projects.faces. I am using JBoss 5.0.1. Can someone give me a hand? My login config is like this: application-policy name=other | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required | module-option name=dsJndiNamejava:/MySqlDS/module-option | module-option name=principalsQuery | SELECT | password | FROM | appuser | WHERE | user_name=? | /module-option | module-option name=rolesQuery | SELECT | 'APPUSER' role_name, | 'Roles' | FROM | appuser u | WHERE | u.user_name=? | /module-option | /login-module | /authentication | /application-policy | My web.xml has this: | security-constraint | web-resource-collection | web-resource-nameProtected Area/web-resource-name | url-pattern/*/url-pattern | http-methodDELETE/http-method | http-methodGET/http-method | http-methodPOST/http-method | http-methodPUT/http-method | /web-resource-collection | auth-constraint | role-nameAPPUSER/role-name | /auth-constraint | /security-constraint | login-config | auth-methodFORM/auth-method | form-login-config | form-login-page/login.faces/form-login-page | form-error-page/login.faces/form-error-page | /form-login-config | /login-config | security-role | role-nameAPPUSER/role-name | /security-role | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224989#4224989 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Weird Jbpm exception.. need help...
Has anyone ever met such exception while doing jbpm integration with struts and spring. I'm very confused. I connect a decision node to a state node and then next an End state. The process goes all the way down to that state node. But when I try to signal that state by coding processInstance.signal(), this exception pop up... java.lang.ClassCastException: org.jbpm.msg.jms.JmsMessageServiceFactory cannot be cast to org.jbpm.svc.ServiceFactory It's a Http status 500 page... The server console says: 00:16:33,859 ERROR [CachedConnectionValve] Application error: default did not complete its transaction This signal exception always happen when the next node is an End state... Please help me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224996#4224996 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from
max.ander...@jboss.com wrote : It seems JBoss AS 4.2.3 have a faulty JSF implementation that causes some classloader problems. This is fixed in EAP 4.3 and JBoss 5. | I tried another combination Eclipse 3.4.2 + JBT 3.0.0 + JBoss AS (5.0.0 or 5.0.1) and got another error message. It seems a different problem. 23:58:25,281 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 33s:360ms | 23:58:36,640 INFO [Contexts] starting up: org.jboss.seam.security.identity | 23:58:37,171 INFO [RuleBase] parsing rules: /security.drl | 23:58:37,921 INFO [Contexts] starting up: org.jboss.seam.web.session | 23:58:38,531 ERROR [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar | 23:58:38,578 ERROR [viewhandler] Error Rendering View[/home.xhtml] | java.lang.NullPointerException | at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) | at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools HTML Editor Preview blows up in eclipse 3.4
I also get this xulrunner error loaded Richfaces-demo-3.1.4.GA as JSF Project from war 22 errors, all xhtml files No start tag () attempt double click on error in Problems window throws the following error An error has occurred. See error log for more details. /opt/eclipse_depo/ganymede-SR2-linux-gtk-JBossTools/eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.8.1.3-20070904/xulrunner/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224998#4224998 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools HTML Editor Preview blows up in eclipse 3.4
looks like this will do the trick: yum install libstdc++.so.5 Running Transaction Installing : compat-libstdc++-33 1/1 Installed: compat-libstdc++-33.i386 0:3.2.3-64 looks like it pulls in the 64bit version, not sure why but looks like it works and fixes both problems View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225002#4225002 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Errors When Passing A Generic Object To A Stateless Session
Hello, I'm a n00b learning EJB3 and have a simple question. I have a stateless session bean that I'm using to learn. It's an FTP bean - you send it hostname, user, pass, etc and it will FTP stuff to the site. The bean explodes to JBoss 5 just fine, and runs perfect, if I hard code some FTP instructions within the bean itself. Now that I got that working, my next step is I want to be able to pass an object to the bean from a caller POJO app that is essentially a list of FTP actions to be performed. The bean would receive this object, cast it into the my object type, and then loop over the list of files, sending each one to the FTP site. Easy enough and a good app for training wheels. The problem is, originally I tried sending the specific object type to the bean directly ie ftpBean.doWork(String host, String username, String password, ListOfFTPItems ftpFilePackage). That threw a bunch of interceptor errors. Next I tried making a more generic argument list - ftpBean.doWork(String host, String username, String password, Object ftpFilePackage), and then casting the Object into a ListOfFTPItems inside the bean. I thought since it was a generic object, I should be able to go back and forth just fine without having to touch anything else. What am I missing? A couple of the guys were great at answering a question I had earlier this week about JNDI lookup. I promised I would write a great tutorial that is completely step by step and I am. Helping me will help out all the other newcomers! PS - My plan is to make this bean into an MDB so that I can run it asynchronously, but I want to get the object passing figured out first before attempting to turn it into an MDB. Thanks in advance. Error message: Exception in thread main java.lang.RuntimeException: java.lang.ClassNotFoundException: com.acmeco.serverapp.test.fileStuff.FilePackage (no security manager: RMI class loader disabled) | at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:318) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:481) | at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) | Caused by: java.lang.ClassNotFoundException: com.acmeco.serverapp.test.fileStuff.FilePackage (no security manager: RMI class loader disabled) | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375) | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) | at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) | at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:91) | at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) | at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at java.rmi.MarshalledObject.get(MarshalledObject.java:142) | at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:309) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:481) | at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522) |
[jboss-user] [EJB 3.0] - Re: Errors When Passing A Generic Object To A Stateless Sess
PS I also simplified even further, but testing to see if I receive a generic Object without an error and it still burps: Caller: Object thisObject = new Object(); | System.out.println(ftpbean.doWork(thisObject)); Interface: public String doWork(Object object); Bean: public String doWork(Object object){ | return I'm here!; | } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225004#4225004 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Errors When Passing A Generic Object To A Stateless Sess
Exception in thread main java.lang.RuntimeException: java.lang.ClassNotFoundException: com.acmeco.serverapp.test.fileStuff.FilePackage (no security manager: RMI class loader disabled) Is FilePackage not in your JAR/EAR alongside your EJB? S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225005#4225005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @RunAs doesn't work in JBossAS 4.2.3?
Definitely give it a spin on AS 5.0.1.GA or 5.1.0.Beta1; we've got integration tests for this kind of thing. If it turns out you've still got a problem we'll look into either 1) Fixing your config or 2) Addressing a gap in our test coverage / possible bug. S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225006#4225006 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Errors When Passing A Generic Object To A Stateless Sess
ALR, Thanks for replying on a Saturday. As I said in my second post in this thread, I went super generic using basic Java Objects and still got burps: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Could not find InvokerLocator URL at JNDI address FTPBean/local; looking up local Proxy from Remote JVM?] | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1472) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:818) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682) | at javax.naming.InitialContext.lookup(Unknown Source) | at com.acmeco.serverapp.ftpDoer.client.HelloClientPOJO.init(HelloClientPOJO.java:20) | at com.acmeco.serverapp.ftpDoer.client.HelloClientPOJO.main(HelloClientPOJO.java:48) | Caused by: java.lang.RuntimeException: Could not find InvokerLocator URL at JNDI address FTPBean/local; looking up local Proxy from Remote JVM? | at org.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory.createProxyFactoryProxy(ProxyObjectFactory.java:185) | at org.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:146) | at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) | at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1447) | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1464) | ... 5 more | Exception in thread main java.lang.NullPointerException | at com.acmeco.serverapp.ftpDoer.client.HelloClientPOJO.doWork(HelloClientPOJO.java:43) | at com.acmeco.serverapp.ftpDoer.client.HelloClientPOJO.main(HelloClientPOJO.java:49) | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225007#4225007 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - javax.ejb.EJBException: java.lang.IllegalArgumentException:
Hi all. I need your help. I get the following Exception while stateless bean function invocation : javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class Implementation Class for function signature it accrues if persistence used inside function. I use Jboss5.0.1 with jdk 1.6 and MySQL 5 thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225009#4225009 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Bugs in GPD jBPM 3.2.6.SP1
I'm trying to teach about jBPM, that is very user friendly and very easy to use, and I was disappointed when I found two bugs, that confuse and scared new users. The first one the missing activation.jar with the fix proposed in this forum: http://www.jboss.org/index.html?module=bbop=viewtopict=153600 where the solution points to a fix proposed to version 3.3.0. So, my user will say.. we found bugs and we are not using the last version of the framework.. very bad.. The second bug that I found, when you fix the activation.jar problem and create a new project with the sample process.. the sample process is never created.. so my users said.. wtf!! I put to create a sample process but i got nothing.. and all of them freaks out.. So, please.. in order to get user and not loose the new ones that try to begin with the framework, fix this issues for this version of GPD. Thanks, your feedback will be appretiated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225011#4225011 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploy Processdefinition via Ant
mike please post your ant script as i am suffering pain with my ant deploy script. i am using jbpm3.2.1Sp1 my problems are as follows 1. despite the docs there is *NO* cfg attribute on org.jbpm.ant.DeployProcessTask 2. processdefintion.xml *MUST* be included in the par *NOT* in classpath or else the deployer produces error please share ur ant deploy script. thanks -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225012#4225012 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Errors When Passing A Generic Object To A Stateless Sess
javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Could not find InvokerLocator URL at JNDI address FTPBean/local; looking up local Proxy from Remote JVM?] To ask the obvious question, is your client (where the JNDI lookup is performed) in the same JVM as your EJB? If not, look up FTPBean/remote. S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225016#4225016 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user