[jboss-user] [JBoss jBPM] - Why no 3.0.12 version src of gpd on anonyCVS??
I've downloaded the jBPM-Designer-3.0.12.zip from sourceforge. But when i tried to download the src of 3.0.12 for org.jbpm.ui, it's strange that there's no 3.0.12 tag for this version?! The latest tag is jbpm_gpd_3_0_9_2. Why ? I also noticed that now the latest version downloadable on the sourceforge is 3.0.11. So where the 3.0.12 version gone?! It is so unusual. I want the latest stable version of binary and src. Where is it? Can someone tell me why? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994567#3994567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem to load classes
could any seam expert help bit on this problem? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994569#3994569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: EJB runtime statistics through web-console throws Except
What is to be read at the very first page: Ever feel like talking to yourself ?? Yep, I did using this forum. Bye Marcos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994570#3994570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem when hitting enter instead of clicking Submit
i also experienced same problem when working with seam, strange errors messages and couldn't find out what is the cause. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994571#3994571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: BasicMBeanRegistry missing for the Fibo example
I found the solution. -Some how in the java build path, the check box for jre 1.5 was unsigned. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994572#3994572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @OneToMany with String as the many
Hi, try to annotate it with org.hibernate.annotations.CollectionOfElements. Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994573#3994573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - IceFaces in JBPortal 2.6DR1
I found one issue with JBPortal 2.6DR1 related to using ajax. I deployed IceFaces Seam example portlet from http://wiki.jboss.org/wiki/Wiki.jsp?page=IcefacesSeamFaceletsPortlet on my configuration (JBoss4.0.5GA/JBPortal2.6 DR1). It is work fine while Im browsing by FireFox 1.5. But it gives an ajax-related javascript error when I use MS IE6.0. Moreover, if I use JBPortal2.4 - this ajax example works properly both with FireFox and MS IE. It seems there is some problem with javascript code in JBP2.6 DR1. What do you think? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994576#3994576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ClassCastException when casting to remote interface
Hi, as I wrote in my original post, I use Eclipse to generate the EAR archive (for the EJB project) and WAR archive (for the web project). I'm not sure but I think this is a function provided by the Exadel Studio plugin that I use. The only thing to do in Eclipse is to add a reference of the EJB project to the web project. With this, a jar file containing the EJB-project's class files will be automatically included in the WAR file, in WEB-INF\lib I don't see any possibility to influence this behavior. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994575#3994575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam & Maven2
Hi, Im looking forawrd to have the seam artifacts on the repository. I'm willing to help if needed. David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994577#3994577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IceFaces in JBPortal 2.6DR1
The difference is that 2.6 is using some Ajax, so maybe there is some sort of collision. What error do you get ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994578#3994578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Is it possible to access request parameters within custo
Thanks scott for those nice links. However, my requirement is slightly different and I am newbie to Tomcat. I enabled ExtendedFormAuthenticator to my application as suggested in one of the links. http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator After that, I observed the following output in the server logs: | 2006-12-18 13:40:56,593 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] End authenticate, principal=GenericPrincipal[admin(HiringManagers,Recruiters,)] | 2006-12-18 13:40:56,593 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] Authentication of 'admin' was successful | 2006-12-18 13:40:56,593 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] Redirecting to original '/SampleWeb/secure/MainMenu.seam?clientIdentifier=Kenexa' | 2006-12-18 13:40:56,593 TRACE [org.jboss.web.tomcat.security.ExtendedFormAuthenticator] SessionID: AE87BB0614F54B452EE2FDE877015D00 | 2006-12-18 13:40:56,593 TRACE [org.jboss.web.tomcat.security.ExtendedFormAuthenticator] Setting j_username = admin | 2006-12-18 13:40:56,593 TRACE [org.jboss.web.tomcat.security.ExtendedFormAuthenticator] Setting j_password = --hidden-- | 2006-12-18 13:40:56,593 TRACE [org.jboss.web.tomcat.security.ExtendedFormAuthenticator] Setting j_exception = null | I observed that the ExtendedFormAuthenticator has pushed the j_username, j_password & j_exception into the session which can be used for post login or for error handling. However, Our requirement is something like this. Our application should support multiple clients with a single code base. Each client will have their own LDAP configuration. While trying to authenticate the user, I need to know the client to which the user belongs to appropriately load the correct configuration and authenticate the user. We decided to give the client id as part of the request url via a query string so that somehow we can get them inside the login module. While browsing the net, I came across a feature in Jetty which allows me to do something like this. http://docs.codehaus.org/display/JETTY/JAAS. Jetty has a callback called RequestParameterCallback using which I can get this as shown below: | public class FooLoginModule extends AbstractLoginModule | { | . | . | . | | public boolean login() | throws LoginException | { | . | . | . | Callback[] callbacks = new Callback[3]; | callbacks[0] = new NameCallback(); | callbacks[1] = new ObjectCallback(); | | //as an example, look for a param named "extrainfo" in the request | //use one RequestParameterCallback() instance for each param you want to access | callbacks[2] = new RequestParameterCallback (); | ((RequestParameterCallback)callbacks[2]).setParameterName ("extrainfo"); | . | . | . | callbackHandler.handle(callbacks); | String userName = ((NameCallback)callbacks[0]).getName(); | Object pwd = ((ObjectCallback)callbacks[1]).getObject(); | List paramValues = ((RequestParameterCallback)callbacks[2]).getParameterValues(); | | //use the userName, pwd and the value(s) of the parameter named "extrainfo" to | //authenticate the user | . | . | . | } | Do we have a similar stuff in Tomcat and if so can someone please let me know as to how to do the same.? Thanks in advance. regards sriraman. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994579#3994579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam generate-entities failing
put the following line in default.properties: hibernate.default_schema myclass View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994580#3994580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Desicion; Bug?
hmmm, i don't know why, but now it is running fine. So, i don't know what was wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994581#3994581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem to insert users into user table
hi, i have problem to insert logged in users into user table, [org.hibernate.SQL] insert into users (name, password, username) values (?, ?, ?) 2006-12-18 10:28:40,406 INFO [STDOUT] Hibernate: insert into users (name, password, username) values (?, ?, ?) but from the log file i can see that the user table was created, but i can not find out why the values are not inserted into the table View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994582#3994582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does anyone use @Rollback?
i am not using @rollback at all, enough problem trying to make seam work. i think jboss seam team should put up some sort of general/common errors and their solusions, since apparently there are a number of them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994583#3994583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Quartz TimerService
I have the calendar defined in jobs.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994585#3994585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Error persisting entities in EJB3 unknow entity java.lang.Il
Hi All, I am using JSF/Seam/EJB3. Invoking a SLSB method from JSF via Seam throws the following exception: | 15:05:14,375 ERROR [STDERR] java.lang.IllegalArgumentException: Unknown entity: entities.Client$$EnhancerByCGLIB$$78349cf5 | 15:05:14,375 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215) | 15:05:14,375 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:175) | 15:05:14,375 ERROR [STDERR] at sessionbeans.StandardClientService.sessionbeans$StandardClientService$createClientJSF$aop(StandardClientService.java:92) | 15:05:14,375 ERROR [STDERR] at sessionbeans.StandardClientService$createClientJSF_N7759129025289692916.invokeNext(StandardClientService$createClientJSF_N7759129025289692916.java) | 15:05:14,375 ERROR [STDERR] at aoptest.PermissionInterceptor.verifyPermissions(PermissionInterceptor.java:191) | I have a jboss aop interceptor for the session bean. Is this creating problems? Any help would be appreciated. Thanks in advance. regards sriraman. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994586#3994586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Getting Exception for Derby Data Source
I am trying to test my MDB with Derby database. I have copied getting error org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss. dbc.DerbyDatabase; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jdbc.DerbyDatabase) Looks like org.jboss.jdbc.DerbyDatabase is not in my class path. Which jar file contains this class or how can i resolve this error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994587#3994587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule via JNDI
Hi I am tryign to connect to UserModule using the JNDI anme /portal/UserModule. Its throwing the excpetion. I need to connect to userModule from my plain java class. How to go about it. I have tried the followig UserModule mod = (UserModule) new InitialContext().lookup("java:/portal/UserModule"); It gives the following error org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:541) at org.jboss.portal.identity.db.UserModuleImpl.getCurrentSession(UserModuleImpl.java:327) at org.jboss.portal.identity.db.UserModuleImpl.getUserCount(UserModuleImpl.java:304) at com.reuters.lipper.dwr.UserDAO.countUsers(UserDAO.java:49) 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:324) at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:239) at uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProcessor.java:48) at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:81) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994588#3994588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserImpl not mapped
Hi I am tryign to connect to UserModule using the JNDI anme /portal/UserModule. Its throwing the excpetion. I need to connect to userModule from my plain java class. How to go about it. I have tried the followig UserModule mod = (UserModule) new InitialContext().lookup("java:/portal/UserModule"); It gives the following error org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:541) at org.jboss.portal.identity.db.UserModuleImpl.getCurrentSession(UserModuleImpl.java:327) at org.jboss.portal.identity.db.UserModuleImpl.getUserCount(UserModuleImpl.java:304) at com.reuters.lipper.dwr.UserDAO.countUsers(UserDAO.java:49) 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:324) at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:239) at uk.ltd.getahead.dwr.impl.DefaultExecProcessor.handle(DefaultExecProcessor.java:48) at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:81) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994589#3994589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Problem to get from client
Hi I've a war application that bind an object with jndi. Now I want to get this object from a desktop application that is not running in the same VM than JBoss but it couldn´t see my bound object. I've been looking in FAQ's and now I know why my app couldn´t get my object but I couldn´t found the solution to the problem. I've seen in usefull code here this code: | env.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); env.put("java.naming.provider.url","jnp://172.31.112.9:2199"); env.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); | | Context ctx = new InitialContext(env); | System.out.println("Binds: " + ctx.listBindings("").toString()); | When I run it I got: | javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: | java.net.ConnectException: Connection refused: connect] | at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:872) | at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:806) | at javax.naming.InitialContext.listBindings(InitialContext.java:396) | at CF.main(CF.java:25) | Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: | java.net.ConnectException: Connection refused: connect | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) | at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) | at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) | at org.jnp.server.NamingServer_Stub.listBindings(Unknown Source) | at org.jnp.interfaces.NamingContext.listBindings(NamingContext.java:821) | ... 3 more | Caused by: java.net.ConnectException: Connection refused: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) | at java.net.Socket.connect(Socket.java:452) | at java.net.Socket.connect(Socket.java:402) | at java.net.Socket.(Socket.java:309) | at java.net.Socket.(Socket.java:124) | at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) | at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) | ... 8 more | Which is the trick to allow my app to get the object ? Thanks in advance C View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994591#3994591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does anyone use @Rollback?
You should see the SeamProblemsFAQ http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ. I'm sure it's missing stuff, is there anything you can think of that should go on there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994590#3994590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule via JNDI
There are a couple of Forum topics about this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994592#3994592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem to load classes
It's very unclear what your problem is. I suggest you explain it from the beginning. You'll need to post any stack trace you get, your JSF page and the backing bean for starters. Please use the [ code ] tags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994595#3994595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule via JNDI
Is there a solution for this. I have beentryingto find in the forums View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994598#3994598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem when hitting enter instead of clicking Submit
JSF always uses javascript to submit a form, so, depending on browser (as different browsers do different things on pressing enter), you will find the form submitted or not. You can perhaps see problem more clearly when you consider the typical case of a entity update page when 'apply', 'save' and 'remove' are all submissions of the form. The solution is to bind the enter key to perform the action you want. I remember finding a JSF control out there to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994596#3994596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Disabling components
Hi all. I want to try seam on Tomcat and want to use pure pojos but i don't want seam to requires jar like ejb3, jms etc. Which components i have to disable to stop seam from requiring those jars. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994599#3994599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IceFaces in JBPortal 2.6DR1
Java script error: Line: 1668 Char: 1 Error: Object doesn't support this property or method Code: 0 generated html code of this portlet: | HelloWorldIcefacesSeamPortletWindow | | | | Active: Idle. | Active: Working... | Caution: Connection in danger. | Disconnected. | | Hello | | Good Bye | | Name: | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994600#3994600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserModule via JNDI
Yes. You need to open a JTA connection (or reuse one that is already open) before you do the call. | UserTransaction ut = (UserTransaction)(initCtx.lookup("java:comp/UserTransaction")); | ut.begin(); | Would open one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994601#3994601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Using handlers in JBoss
Hi All! I'm using JBoss 4.0.5. I have written Web Service and deployed it on JBoss. Also I have written handler such as | public class MHandler extends GenericHandler{ | public boolean handleRequest(MessageContext context) { | SOAPMessageContext sctx = (SOAPMessageContext)context; | SOAPMessage message = sctx.getMessage(); | try { | SOAPHeader header = message.getSOAPHeader(); | String userName = header.getAttribute("username"); | String password = header.getAttribute("password"); | try { | FileOutputStream file = new FileOutputStream("C:/Documents and Settings/kbolyand/Desktop/log.txt"); | file.write("Into Handler".getBytes()); | file.write((userName + "=" + password).getBytes()); | file.close(); | } | catch (FileNotFoundException e) { | e.printStackTrace(); | } | catch (IOException e) { | e.printStackTrace(); | } | | } | catch (SOAPException e) { | e.printStackTrace(); | } | | return true; | } | public QName[] getHeaders() { | return new QName[0]; | } | } But I don't know how I must deploy this handler on JBoss WS. Where I must put this compilled handler, what I must write in properties files? And big second question: how I must put information into SOAP header of message? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994602#3994602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates
"dilator" wrote : Hibernate provides both Interceptors and Event listeners - they should do the trick, as long as you dont mind using non-JPA features I was trying to use @PostUpdate event listener - it does not help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994603#3994603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: FileCacheLoader partial preload
I'm using POJO cache this is a test code | @PojoCacheable | public class TestData implements Serializable { | Map kukuMap = new HashMap(); | String myStr; | int myInt; | public TestData() { } | public TestData(String myStr, int myInt) { | this.myStr = myStr; | this.myInt = myInt; | } | public Map getKukuMap() { | return kukuMap; | } | public void setKukuMap(Map kukuMap) { | this.kukuMap = kukuMap; | } | | } | PojoCacheable | public class TestKukuData implements Serializable { | String id; | int miInt; | | public TestKukuData() {} | public TestKukuData(String id, int miInt) { | this.id = id; | this.miInt = miInt; | } | | public String getId() { | return id; | } | | public void setId(String id) { | this.id = id; | } | | } | | public class MYCache { | final static Fqn TEST = Fqn.fromString("/kuku/test"); | static PojoCacheIfc myCache; | | | public static TestData setTest(Integer id, TestData data){ | | return (TestData)myCache.putObject(new Fqn(TEST,id),data); | } | public static TestData getTest(Integer id){ | | return (TestData)myCache.getObject(new Fqn(TEST,id)); | } | | | | class MainTest{ | public void do(){ |int id = 1234 |TestData tData = MYCache.getTest(id); |if(tData == null){ |TestData data = new TestData("TestData",1); | data.getKukuMap().put(new Integer(11),new TestKukuData("kukuID1",1+id)); | data.getKukuMap().put(new Integer(22),new TestKukuData("kukuID2",2+id)); | | MYCache.setTest(id,data); | |} |else{ | int size = tData.getKukuMap.size(); | Collection c = tData.getKukuMap.values() ; | TestKukuData kuku = (TestKukuData )ttData.getKukuMap.getObject(11) | } | | | | | } | I run this twice first time I load the cache , then I restart Jboss the second time size is 0 and the collection is empty but kuku is with the right value what am I missing ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994604#3994604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - encrypted dsn connection in JBOSS
Hi all I want to connect to my databse through JBOSS using encrypted password.I have already created a dsn and tried connecting to it after doing JBOSS encryption(reference link :-http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords). I have followed all the steps in the site but i am getting an error Invalid authentication attempt, principal=null can anyone help me to tell why is this error? Thanks in advance Cool View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994605#3994605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Sizing a Stateless Session Bean Pool Size
Hello, Here I've some problem quite aligned to the subject. Actually I want to restrict max no of StatefulSessionBean instances in the EJB3.0 configuration. My main objective is to make methods postActivate() (decorated with anno. @PostActivate) and prePassivate (with @PrePassivate) get called, for a test environment. Please help me with the configuration of EJB3.0. Thanks & Regards, Varun Narang. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994606#3994606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: encrypted dsn connection in JBOSS
This usually means you have spelled something incorrectly, or are using the incorrect login module. Could you please post your *-ds.xml file as well as your login-conf.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994607#3994607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Deploy a web application on JBoss
Thanks for your reply. I am able to deploy application on JBoss from some other folder. Now i tried suing it from some remote machine as per the format given in the jboss-service.xml But it does not work. I have given something like http://www.localhost:7070/mywar/test.war Can someone tell me how to resolve this problem? Thanks & Regards Inder Jeet Singh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994608#3994608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Switching themes
Hi, we are using a higly customized JBoss Portal 2.2.1. We have created different themes, and the behaviour of 2.2.1 when switching the theme is that it is changed for all users, all sessions, all subsequent requests. This is highly inconvenient, because we want to customize themes per user. Now my question: can this behaviour be changed? Is it "fixed" in more recent versions? We have implemented our own LoginModule, and when I tried to switch to 2.4 I realized that the class structure of all Login-related classes has entirely changed, so upgrading would mean a lot of effort for us. Thanks for your help, Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994612#3994612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Custom mapper for cms
Hello there, According to http://jboss.org/index.html?module=bb&op=viewtopic&t=97374 the CMS portlet does not work on a custom page other than the default page when it comes to links. Does any one know where I have to change the mapper code for the CMS portlet to allow links to work from a page other than default. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994615#3994615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: encrypted dsn connection in JBOSS
Hi I have created the *ds.xml file as betcdb2ds jdbc:db2://db2connt.safeway.com:5/DBU1 com.ibm.db2.jcc.DB2Driver 0 betcdb2ds EncryptDBPassword and put an entry in login-config.xml i have added the entry BED1TC 8Yan5EI.jO3 jboss.jca:service=LocalTxCM,name=betcdb2ds and mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword"> {CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/conf/server.password abcdefgh 13 Is there anything wrong here Cool View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994614#3994614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994614 ___ 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
This is now fixed in subversion View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994616#3994616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Jbpm API for displaying the task items
Iam new to Jbpm API , I tried by using Jbpm API ,and i searched a lot for this but iam not able to get this one.Could you give me any suggestions Thanks skpeddi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994617#3994617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
in portal-cms-sar/META-INF/jboss-service.xml you will find where the default command mapper is defined: | | | /content | portal:commandFactory=Delegating | portal:commandFactory=CMSObject | | Here you can replace it by a command mapper of your choice. You will see that the tragetWindowRef is defined in the mbean: portal:commandFactory=CMSObject You can choose to replace this command factory instead of the whole command mapper. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994619#3994619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - AOP compatibility with JBoss 3.2.7
I want to use JBoss AOP with JBoss 3.2.7 AS, but I'm not sure if load time weaving is supported in JBoss 3.2.7 or I have to install JBoss 4.x Could anyone help me about this question? Please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994621#3994621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - how we can lookup the JNDI of a remote Jboss from within our
Hi Thank you for reading my post we have an application deployed into two seperate Jboss application server. What we need is sending some JMS message to a queue and topic of the remote Jboss application server. what we can not do is initializing a context for the second application server which is running on another mchine over interanet. can some one help me with initializing a context to lookup into the JNDI of the second application server? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994622#3994622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
what is the class of: mbean: portal:commandFactory=CMSObject View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994624#3994624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
You should open the jboss-service.xml file... org.jboss.portal.core.cms.CMSObjectCommandFactory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994626#3994626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: action=
updating to 1.1.0 GA seems to solved the previous issue, but i always get a null value in the entityHome.setId method, maybe cause the p.id param isn't evaluated till the render phase while the action is called before. is this correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994627#3994627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994630#3994630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994630 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Request for feedback
Sorry for little off topic...but I must say that! When I see what U guys try to do, I think U're trying to make some huge universal framework...but this is cool! EJB3.0, Ajax4JSF, IceFaces, Hibernate...Trinidad, Seam Realm?, and today I readed on roadmap U want to integrate Spring with Seam... and now U want 2 change navigation style from JSF. Intresting, how Seam will look like in 2010 year? :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994631#3994631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to Create a New Jndi
Use DataSource pool = (DataSource) new InitialContext().lookup("java:PortalDS"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994633#3994633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - ATOMIC aspect weaving ?
If an aspect has for example 50 different advices, when weaving the entire aspect are all the advices woven atomically i mean, do all of the advices get woven in a single step, all or nothing ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994634#3994634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm on Tomcat 5.5
OK. Thanks. You are in reason. I need some jar files. I copied it and it runs ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994635#3994635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: action=
You can only use the variable "p" in the method binding if #{people.resultList} is a DataModel. If it is a list, it cannot work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994636#3994636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
I just had a closer look. I might have missunderstood. Did you mean that it is sufficient to just change the tragetWindowRef ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994637#3994637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom mapper for cms
Further what would it be for a custom page on the same level as default, let's say Home. default.default.DefaultCMSPortletWindow to default.Home.DefaultCMSPortletWindow ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994640#3994640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Disabling components
maybe this will help you. >http://docs.jboss.com/seam/1.1GA/reference/en/html/configuration.html#d0e6493 and the hibernate example HTH ido View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994639#3994639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm API for displaying the task items
Yes, search better... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994642#3994642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: problems with jalapeno/cayenne JBC optimistic cache with
This really depends on your use case. If you want a warm cache, replication is the best option. Invalidation only really makes sense if you have a large data set (e.g., 50GB of data) and each node only handles a small subset of this data (e.g., 0.5GB). THis way it is extremely unlikely that 2 nodes would need the same data in memory at any given point. And as such,if data changes on one node, it should be evicted on other nodes - if the other nodes have it in memory. OTOH, if you are using it to cache a set of drop down values, for example, which are needed on all nodes all the time, use replication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994643#3994643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Hibernate Entity+Query cache with INVALIDATION_SYNC and
Not any use, there would still be some cases where this is valid, e.g., with very frequently changing data (e.g., every few mins) where absolute correctness is not an issue since it changes that fast. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994644#3994644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ClassCastException when casting to remote interface
anonymous wrote : as I wrote in my original post, I use Eclipse to generate the EAR archive (for the EJB project) and WAR archive (for the web project). I'm not sure but I think this is a function provided by the Exadel Studio plugin that I use. You should package only the remote interface files in your Web project. I have a similar thing going on, and I have an extra project for the remote interface files. It is quite likely that the problem stems from having two copies of the same code deployed. Besides, I packaged the WAR inside the EAR, and not separately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994645#3994645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Missing processdefinition after Jboss server restart
that was not what I meant, hsqldb can be run in-memory and with file persistence, regardles of what server it comes with View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994646#3994646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache replication complete notification on start
I'd suggest you listen for the cache started notification. This only happens after any state transfer completes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994647#3994647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassCastException
Try ... InitialContext ictx = new InitialContext(); Object o = ictx.lookup("ejb/ECB"); Class[] classes = o.getClass().getInterfaces(); for(int i = 0; i < classes.length; i++) { log.debug("Interface[" + i + "] = " + classes; } to show your Object o interfaces. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994649#3994649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassCastException
... log.debug("Interface[" + i + "] = " + classes); ... of course View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994651#3994651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: deployement of my project
i think the problem is that my jdk 1.5 and jboss4.0 are not compatible, if you can give me links where i can download jdk1.5 i think that i have a wrong download!! thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994650#3994650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: how we can lookup the JNDI of a remote Jboss from within
Not sure i understand the question right. Your code in appserver1 can do the following: | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | env.put(Context.PROVIDER_URL,"jnp://theSecondServerName:1099"); | Context remoteCtx = new InitialContext(env); | remoteCtx.lookup(); | You can even place the address of the second server in the jndi.properties file which accepts a comma separated value for the java.naming.provider.url property View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994653#3994653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - deployment in jboss5
Hello, Is there a way to deploy an app in jboss5 without restarting the server ? I'm so much used to hot deployment, I don't even know how to do without it ... :( thanks, Tiv View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994654#3994654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: How to retrieve same Connection after Activation
Thank you for the quick reply. Unfortunately, this is impossible for us, cause we're opening some temporary tables on the database, which are thrown away on connection close. So would it be possible to write an Mbean, which holds the connections for the passivated beans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994655#3994655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Couldn't delete timer for Process Instance
ERROR - org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.VariableInstance Exception in thread "main" org.jbpm.JbpmException: couldn't delete timers for process instance '[EMAIL PROTECTED]' I have a start node where I signal the process and this process was tested to work correctly when It was loaded from the file system. Now this is deployed in a JBoss Server and it causes the above said problem. any help? what are the other details I need to send in? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994656#3994656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: How to retrieve same Connection after Activation
Anything is possible ;-) Just keep in mind that resource leaks, timeouts, transaction issues etc will be common with your approach as you are going well outside of the JCA/EJB/J2EE specifications in terms of resource management. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994657#3994657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Getting Exception for Derby Data Source
is the Derby jdbc driver in the /lib directory of the server ?? Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994658#3994658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: encrypted dsn connection in JBOSS
Try uncommenting the line | | | Looks like something is not being read right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994659#3994659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss server restart and java.rmi.NoSuchObjectException
Hi, it seems like you still use an old (and closed) context, ctx, to make lookups after restart. ctx_1.addToEnvironment("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); | ctx.addToEnvironment(InitialContext.PROVIDER_URL,"my-hostname"); | Object beanobj_1 = ctx.lookup("MyService/RemoteIAdmin");] | Try ctx_1. Currently, it doesn't seems to be used at all.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994660#3994660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Class not found Exception in Web Console - Heta.5.0.0
hi! I have the same problem - did you get an answer already? regards, christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994661#3994661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss 4.0.5.GA and BIRT 2.1.1
I have a problem when I am deploying birt.war from birt-runtime-2_1_1\WebViewerExample into the EAR file and the java.security.manager property is set. I'm using this instructions to deploy the BIRT on JBoss: http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#jboss I've got follow exception, someone has any idea to solve this problem? Thanks! -- Darlan Exceprion: java.lang.LinkageError: org/jboss/net/protocol/file/Handler | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:164) | at org.eclipse.osgi.framework.util.SecureAction$15.run(SecureAction.java:314) | at java.security.AccessController.doPrivileged(Native Method) | at org.eclipse.osgi.framework.util.SecureAction.forName(SecureAction.java:312) | at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.getBuiltIn(StreamHandlerFactory.java:66) | at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:86) | at java.net.URL.getURLStreamHandler(URL.java:1104) | at java.net.URL.(URL.java:572) | at java.net.URL.(URL.java:464) | at java.net.URL.(URL.java:413) | at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:161) | at java.net.JarURLConnection.(JarURLConnection.java:144) | at sun.net.www.protocol.jar.JarURLConnection.(JarURLConnection.java:61) | at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:24) | at java.net.URL.openConnection(URL.java:943) | at sun.misc.URLClassPath.check(URLClassPath.java:397) | at sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:604) | at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:676) | at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:663) | at sun.misc.URLClassPath.findResource(URLClassPath.java:142) | at java.net.URLClassLoader$2.run(URLClassLoader.java:362) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findResource(URLClassLoader.java:359) | at java.lang.ClassLoader.getResource(ClassLoader.java:977) | at java.lang.ClassLoader.getResource(ClassLoader.java:972) | at org.jboss.mx.loading.RepositoryClassLoader.getResourceLocally(RepositoryClassLoader.java:230) | at org.jboss.mx.loading.LoadMgr3$ResourceAction.run(LoadMgr3.java:109) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:261) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:299) | at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1342) | at java.lang.ClassLoader.loadClass(ClassLoader.java:299) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:164) | at org.eclipse.osgi.framework.util.SecureAction$15.run(SecureAction.java:314) | at java.security.AccessController.doPrivileged(Native Method) | at org.eclipse.osgi.framework.util.SecureAction.forName(SecureAction.java:312) | at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.getBuiltIn(StreamHandlerFactory.java:66) | at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:86) | at java.net.URL.getURLStreamHandler(URL.java:1104) | at java.net.URL.(URL.java:572) | at java.net.URL.(URL.java:464) | at java.net.URL.(URL.java:413) | at org.jboss.net.protocol.file.FileURLLister.createURL(FileURLLister.java:158) | at org.jboss.net.protocol.file.FileURLLister.listFiles(FileURLLister.java:130) | at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:75) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:497) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994662#3994662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
[jboss-user] [EJB 3.0] - Re: Sizing a Stateless Session Bean Pool Size
You can also set that in the standardjboss.xml file. Just scroll down, till you find that: | | | Standard Stateful SessionBean | ... | 300 | 600 | ... | max-bean-age is the time in seconds, a stateful bean has to be idle before it gets passivated. the overager-period is the time period, the beans get checked for passivation. Alternatively, you can copy the whole container configuration to a jboss.xml file which has to be located in the META-INF-Directory of your Bean .jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994663#3994663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: EAR Deployment, Third-party libraries and Struts
anonymous wrote : Now, I want to package them in a single EAR file. Since they share third-party libraries, I put those libraries in the lib directory at the root of my EAR archive and declared those JARs int the MANIFEST of both the web module and the EJB module (but not in the EAR MANIFEST, should I ?). The way i usually do this is by mentioning those jars in the application.xml (present in the META-INF of the ear file) files as follows: | struts-taglibs.jar | | | | struts-core.jar | | and place these jar files directly inside the ear View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994664#3994664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: encrypted dsn connection in JBOSS
Hi This gives me an error UsersRolesLoginModule: Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found is there any file i have to create??? Cool View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994665#3994665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with DataModelSelection?
Nope that was all I changed- there was one thing that occured to me this morning though, but I haven't played with this so I don't know if this makes a difference or not - my Editor bean is conversation scoped, my Finder bean is session scoped. @DataModel has a scope parameter, but from the javadocs, anonymous wrote : Outjects a collection to the same scope as the owning component (or to the EVENT scope in the case of a stateless component)... Let me know if you figure out what exactly causes this behavior. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994666#3994666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: how we can lookup the JNDI of a remote Jboss from within
Thank you for reply. It was what i need. is there any way to apply some authentication for this? I mean someway to prevent other people from looking into our JNDI? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994667#3994667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm webapp login
But when I deleted all of the jbpm/class files, among others the UserBean.class, in the web console nothing became, works same as before. That is why I dosen't understand, from where get the web console the data. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994668#3994668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JAAS, ejb and httpsession - login every request?
There are a few articles about using JAAS authentication and propagating the authenticated subject to EJBs. Sometime it is also described that in order to keep the client authenticated for the duration of HttpSession, one should keep the credentials (username + password) in the session so that every request can use LoginContext.login again. This is one example: http://publicobject.com/2005/04/logging-in-to-web-app-using-jaas-on.html I'm curious whether there is a better way that doesn't force the container to validate the user's credentials each and every request. For example, I'd like to be able to just store the Subject object in the session, and somehow reattach this subject object to the LoginContext in each request. I tried using JBoss's SecurityAssociation's static method called setSubject, which seemed to work but it actually didn't cause this subject object to propagate in EJB calls. Are there any suggestions? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994669#3994669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: property of type org.w3c.dom.Element
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:bean-deployer:2.0}plainValueType type of element {urn:jboss:bean-deployer:2.0}value should be complex and contain {urn:jboss:bean-deployer:2.0}config as a child element. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994670#3994670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: ATOMIC aspect weaving ?
I am not sure I get the question, but the aspects are added dynamically. You could prepare the class, so it has the required hooks and deploy additional -aop.xml files which adds more advices dynamically View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994671#3994671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP compatibility with JBoss 3.2.7
It is not actively tested on 3.2.7, I would advise you to install the latest JBoss 4.0.x release. 3.2.x is more or less end of line anyway View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994672#3994672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: property of type org.w3c.dom.Element
What if you have one supplying bean that would register PropertyEditor before (via PropertyEditorManager). And currently you use [config], and write PE accordingly to this. Just an idea (or small tmp hack :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994675#3994675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Using a custom ClassLoader with JBoss AOP in Standalone
Can you please create a JIRA issue and attach a simple example of what you are trying to do? I'll try to take a look, but there are a lot of higher priority issues at the moment, so no guarantees View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994674#3994674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem to get from client
Solved... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994673#3994673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error with seam-gen
The error : | [hibernate] 9. task: generic exportertemplate: src/EntityHome.java.ftl | [hibernate] 18-dic-2006 14:49:19 freemarker.log.JDK14LoggerFactory$JDK14Logger error | [hibernate] GRAVE: | | [hibernate] get(type) failed on instance of org.hibernate.mapping.Property | [hibernate] The problematic instruction: | [hibernate] -- | [hibernate] ==> assignment: idType=pojo.importType(pojo.identifierProperty.type.returnedClass.name) [on line 20, column 1 in src/EntityHome.java.ftl] | [hibernate] -- | | [hibernate] Java backtrace for programmers: | [hibernate] -- | [hibernate] freemarker.template.TemplateModelException: get(type) failed on instance of org.hibernate.mapping.Property | [hibernate] at freemarker.ext.beans.BeanModel.get(BeanModel.java:211) | [hibernate] at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) | [hibernate] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) | [hibernate] at freemarker.core.Dot._getAsTemplateModel(Dot.java:74) | [hibernate] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) | [hibernate] at freemarker.core.Dot._getAsTemplateModel(Dot.java:74) | [hibernate] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) | [hibernate] at freemarker.core.ListLiteral.getModelList(ListLiteral.java:119) | [hibernate] at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:89) | [hibernate] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) | [hibernate] at freemarker.core.Assignment.accept(Assignment.java:90) | [hibernate] at freemarker.core.Environment.visit(Environment.java:196) | [hibernate] at freemarker.core.MixedContent.accept(MixedContent.java:92) | [hibernate] at freemarker.core.Environment.visit(Environment.java:196) | [hibernate] at freemarker.core.Environment.visit(Environment.java:233) | [hibernate] at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) | [hibernate] at freemarker.core.Environment.visit(Environment.java:196) | [hibernate] at freemarker.core.MixedContent.accept(MixedContent.java:92) | [hibernate] at freemarker.core.Environment.visit(Environment.java:196) | [hibernate] at freemarker.core.Environment.process(Environment.java:176) | [hibernate] at freemarker.template.Template.process(Template.java:231) | [hibernate] at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:247) | [hibernate] at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67) | [hibernate] at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28) | [hibernate] at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97) | [hibernate] at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:84) | [hibernate] at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:73) | [hibernate] at org.hibernate.tool.hbm2x.GenericExporter.exportClasses(GenericExporter.java:56) | [hibernate] at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:41) | [hibernate] at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) | [hibernate] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40) | [hibernate] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:182) | [hibernate] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | [hibernate] at org.apache.tools.ant.Task.perform(Task.java:364) | [hibernate] at org.apache.tools.ant.Target.execute(Target.java:341) | [hibernate] at org.apache.tools.ant.Target.performTasks(Target.java:369) | [hibernate] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) | [hibernate] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) | [hibernate] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) | [hibernate] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) | [hibernate] at org.apache.tools.ant.Main.runBuild(Main.java:668) | [hibernate] at org.apache.tools.ant.Main.startAnt(Main.java:187) | [hibernate] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) | [hibernate] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) | [hibernate] Caused by: java.lang.reflect.InvocationTargetException | [hibernate] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [hibernate] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [hibernate] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [hibernate] at java.lang.
[jboss-user] [JBoss Seam] - Catch Errors
Hi everybody, I'm tryng with seam gen, seam seam generate-entities. I'm making some experiment with a class that extends EntityHome and overrides persist() in this way (I need to catch errors): Code: @Override @Transactional public String persist() { try { return super.persist(); } catch (Exception e) { return "error"; } } When I insert a record that violates a constraint, I catch the exception but I get an error on XXXEdit.seam. Where does that come from ? How can I eliminate it ? Thanks in advance for helping Ricardo Alba Note: Excuse my English View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994677#3994677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: SuperState DB tests
Thank you for finding this better syntax. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994678#3994678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Disabling components
I don't want to use Hibernate too. I won't use any persistence api. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994680#3994680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: intercept TransactionManager->commit()
You could try creating your own implementations of org.jboss.ejb3.tx.TxInterceptorFactory which creates org.jboss.aspects.tx.TxInterceptorFactory which uses org.jboss.ejb3.tx.Ejb3TxPolicy which subclasses org.jboss.aspects.tx.TxPolicy which is what calls commit and update your ejb3-interceptors-aop.xml to use your version of the TxInterceptorFactory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994681#3994681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - exception unwrapping private key - java.security.InvalidKeyE
Hi there, I am trying to port BouncyCastle on to JBoss 4.0.4GA. My client code (which is a WSS4J client) works on command line but I get the exception in the subject of this query when I trigger the client from a JSP. The bouncy jar bcprov-jdk15-134.jar is in the WEB-INF/lib. The client-config.wsdd, the certificate and the reference to the crypto.properties files are all located under WEb-INF/com. The crypto.properties file contain the lines below: org.apache.ws.security.crypto.merlin.keystore.type=PKCS12 org.apache.ws.security.crypto.merlin.keystore.password=servicemaker org.apache.ws.security.crypto.merlin.alias.password=servicemaker org.apache.ws.security.crypto.merlin.file=BT_SDK_Application_Certificate.pfx org.apache.ws.security.crypto.merlin.keystore.alias=c6542fec5983bf8a0ef603d6866e8b89_d33ef4d9-4542-4a1c-88a7-2c129a9c558f org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin The client-config.wsdd contains the lines below: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> The installation documentation in JBoss-WS tells me to put the create an entry in the java.security file under jre/lib/security which I have done which is why the command line works. Has anyone experienced this? I appreciate your help. willy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994682#3994682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Dynamic Deployement with JBoss AS
Are you sure you are deploying to the right place? e.g. if you are running run -c ejb3 you will need to modify the jboss.server.config property in the example build.xml to be ejb3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994684#3994684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Listing EJB and services
Hi, EJB 3.0 is not an option right now. We are still using EJB 2.1 and I can not change that at the moment. So, I am searching for means on how to list all of the EJBs deployed in the container, through JMX. I can not find any documentation about it. Can anyone provide me some doc about it? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994685#3994685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Bug in SuperClassesFirstWeavingStrategy?
Does this happen when you run standalone? I have had some weird issues with debugging in Eclipse 3.2.0 (3.2.1 seems better). A sample application would really be appreciated, I am very keen to get this problem fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994688#3994688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Listing EJB and services
I just need a documentation about "how to list all ejb deployed in the container using jmx". Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994686#3994686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss ide / eclipse 3.2.1 bug?
So... Given this striking incompatabilit, what is your recommended path to goodness? Shall I select a different version of the JBoss-IDE package? A different version of Eclipse? If so which different version of which packate? Of all the possible combinations of these two splendiforous products what are the compatable versions? Is there any intention of supporting the installation of the latest version of the "JBoss plugin for ECLIPSE" on the latest version of ECLIPSE? It seems to me that this should be a fruitful thing to attempt. Anyway, it would be helpful for us users of these products if the vendors would provide a bit of guidance on the compatible versions that do work together rather than simply stating the obvious - "It doesn't work" when that is the very complaint from the user that is being addressed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994683#3994683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Problem with LAZY relations and SerializableProxy
I have to entities, Person and Address, connected in this way: in PersonEntityImpl: @OneToMany(mappedBy = "person", fetch = FetchType.LAZY, cascade = CascadeType.REMOVE) public Set getAddresses() in AddressEntityImpl: @ManyToOne(fetch = FetchType.LAZY, optional = false) public PersonEntityImpl getPerson() Creating and finding works fine, even updating a person is no problem. But when I update an address the server performs the change in the database correctly and then the invoked SessionBean method returns the merged address entity. On client side the exception below occurs. When changing to EAGER everything works fine (but this is not a solution). It seams the problem occurs while de-serializing the entity with a lazy attribute. I'v read a lot of this and similar problems (like http://jira.jboss.com/jira/browse/EJBTHREE-440). There are other projects of mine where I have the same exception in more complex entity relations. At this moment this is a real "stopping" issue, because I have no solution at all. I have a JBoss 4.0.5 GA, installed with the JEMS installer 1.2.0 CR1. After patching to EJB3 RC9 the problem still remains. After trying nearly all combinations of annotations, classpath entries and so on, there is one big question: Could this still be the same problem as reported earlier from other users (should be fixed) or am I just to stupid to configure my JBoss? java.lang.reflect.UndeclaredThrowableException at $Proxy6.updateAddress(Unknown Source) at com.qualitype.tutorial.test.AddressManagerTest.testUpdateAddress(AddressManagerTest.java:97) 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.lang.ClassCastException: cannot assign instance of org.hibernate.proxy.pojo.javassist.SerializableProxy to field com.qualitype.tutorial.ejb.entity.AddressEntityImpl.person of type com.qualitype.tutorial.ejb.entity.PersonEntityImpl in instance of com.qualitype.tutorial.ejb.entity.AddressEntityImpl at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) 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:55) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)