[jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem with hibernate code gen.
you could then start by reducing the problem to something simple and then report it as a bug. But a missing typename hints very much that you have composite id'sdo note that not having a primary key results in all the columns being used as composite id. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977136#3977136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Drolls
hi, I am new to the Jboss Rules Engine, I have created one xl sheet with one rule RuleSet Business Rules Import com.triaton.tkafuh.webapp.se.EntgeltumwandlungSE,com.triaton.tkdirws.ws.model.DoTKPerson,com.triaton.tkdirws.ws.model.DoTKResult Sequential true Variables DoTKResult doTKR Notes Sample Table RuleTable CONDITION CONDITION ACTION doTKP:DoTKPersondoTKR tkfkz6!=$1 tkpstatus!=$1 setResult("$param") tkfkz6 tkpstatus Result 15 20 FALSE * tkfkz6 and tkpstatus are the two member variables of the DoTKPerson * If tkfkz6 != 15 and tkpstatus != 20 then I need to set the reult in to the 'result' property of the DoTKResult can any body help me how to do this in the rules Excel sheet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977135#3977135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with conditions in transactions
Anybody can help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977134#3977134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how can I get previous actorid in jBPM 3.1.2?
by using executionContext.getTaskInstance().getPreviousActorId(), it's return is null. Anybody could tell me how to get previous actor? Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977133#3977133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem with hibernate code gen.
Well, the problem is that I dont have any composite ids. SO how is it possible to handle this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977132#3977132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Securing POJO Web Service
How do I retrieve User Principal in Web Service Implementation? It's easy to get the Caller Prinicipal in Web using getUserPrincipal() of HttpServletRequest. What's the equivalent in POJO Web Service implementation? Cheers, Sanjay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977131#3977131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Hints need:
Most likely JackRabbit is relying on the javax.jcr.* classes that are not deployed to JBoss by default. They don't seem to be included in the JackRabit RAR as well. JackRabbit defines this as it's connection-defintion. Since we can't find it, we can't create the connection. Verify where these classes are supposed to exist in the JackRabbit documentation. There is usually one of two places: 1) The server/lib directory 2) Inside the RAR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977129#3977129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Securing POJO Web Service in 4.0.3 SP1
Alright. I found the problem. I was getting the above error becuase of FORM based authentication in web.xml. I changed that to BASIC authentication and everything is working fine now. BASIC Protected Realm Cheers, Sanjay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977130#3977130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Hints need:
Hi All! I tried to deploy Jackrabbit on JBoss with JCA, using "JackrabbitOnJBoss" (http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss) I took from SVN the latest sources of Jackrabbit, rebuilt it by Maven and did all steps from aforementioned instruction. Unfortunately, I always get org.jboss.deployment.DeploymentException: couldn't get oldRarDeployment! jboss.jca:service=RARDeployment,name='jackrabbit-jca-1.1-SNAPSHOT.rar'; - nested throwable: (org.jboss.deployment.DeploymentException: ConnectionDefinition 'javax.jcr.Session' not found in rar 'jackrabbit-jca-1.1-SNAPSHOT.rar') I use JBoss AS 4.0.4.GA with the EJB 3.0 profile selected using the JEMS installer (for JBoss Seam). Can anybody help me in this issue? Thank you in advance. Best regards. Gleb. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977128#3977128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [News & Announcements] - JBoss Messaging 1.0.1.GA Released
JBoss Messaging 1.0.1.GA has been released and it is available for download on on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads) and sourceforge (http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=157261). The complete list of changes since 1.0.0.GA is available at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingDeltaReleaseNotes_100GA_101GA. A summary of changes in a more human readable format will be soon publised at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessaging101GAChanges The JBoss Messaging project roadmap is available here: http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977127#3977127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss Messaging 1.0.1.GA Released
JBoss Messaging 1.0.1.GA has been released and it is available for download on on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads) and sourceforge (http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=157261). The complete list of changes since 1.0.0.GA is available at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingDeltaReleaseNotes_100GA_101GA. A summary of changes in a more human readable format will be soon publised at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessaging101GAChanges The JBoss Messaging project roadmap is available here: http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977125#3977125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Q about login config
anonymous wrote : I do not want to edit the conf/login-config.xml file in JBoss app server's path. So my Q is, is there a way I can configure my custom LoginModule without ever needing to edit the conf/login-config.xml in Jboss's path? Can I somehow provide an additional login-config.xml inside my application's path? Or is there some other way to configure the custom LoginModule so that the configuration remains completely inside the application and does not affect any of the default configuration files for the JBoss app server? Just had a look at the JBoss source code. Looks like you can achieve this programatically. There's a MBean named XMLLoginConfigMBean. This has the following method: /** Add an application login configuration. Any existing configuration for | the given appName will be replaced. | */ |public void addAppConfig(String appName, AppConfigurationEntry[] entries); You can get the reference of this MBean programatically and invoke this method by passing the appropriate parameters. You need NOT maintain your own file containing the Login configurations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977123#3977123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
"petemuir" wrote : Please show the User class hi, here is User class: | package com.seam.dto; | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.Id; | import javax.persistence.Table; | | import static org.jboss.seam.ScopeType.SESSION; | | import org.hibernate.annotations.AccessType; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | | @Entity | @Name("user") | @Table(name="user") | @Scope(SESSION) | @AccessType("field") | public class User { | | @Id | @Column(name="username") | String username; | @Column(name="password") | String password; | @Column(name="full_name") | String fullName; | | public String getFullName() { | return fullName; | } | public void setFullName(String fullName) { | this.fullName = fullName; | } | public String getPassword() { | return password; | } | public void setPassword(String password) { | this.password = password; | } | public String getUsername() { | return username; | } | public void setUsername(String username) { | this.username = username; | } | | | } | | and components.xml : | | | | #{ejbName}/local | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977122#3977122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Q about login config
anonymous wrote : I do not want to edit the JAVA_HOME java installation files. Is there another way to configure my custom LoginModule for java so that I do not have to physically mess around with the Java configuration. There could be other Java programs, running on the same machine, and I don't want them affected by my login.config setting. Is there another alternative way to configure the custom LoginModule for java? This can be done programatically as follows: System.setProperty("java.security.auth.login.config","C:/gsnxst/deploy/conf/login.config"); Write this piece of code before instantiating the LoginContext, in your standalone java program. anonymous wrote : I do not want to edit the conf/login-config.xml file in JBoss app server's path. So my Q is, is there a way I can configure my custom LoginModule without ever needing to edit the conf/login-config.xml in Jboss's path? Can I somehow provide an additional login-config.xml inside my application's path? Or is there some other way to configure the custom LoginModule so that the configuration remains completely inside the application and does not affect any of the default configuration files for the JBoss app server? As far as i know, there is no other option for this. You will have to edit the login-config.xml shipped by JBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977121#3977121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Authentification in jax-rpc
Is it possible for you to provide the solution? How do I find the current logged in user inside Web Service Implementation? Cheers, Sanjay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977120#3977120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Securing POJO Web Service in 4.0.3 SP1
I have created one POJO Webservice and everything works fine but I run into issues as soon as I try to secure the Web Service. Here are the steps I am following to secure the Web Service. -Modified the web.xml to specify the contraints. == InfoServiceServlet com.info.webservice.InfoServiceImpl InfoServiceServlet /InfoService Protected Area /InfoService InfoUser - Modified the client code to pass the username/password. == ((Stub) bookQuery)._setProperty(Stub.USERNAME_PROPERTY, "username"); ((Stub) bookQuery)._setProperty(Stub.PASSWORD_PROPERTY, "password"); When I run the client, I get following errors on the client side. HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Cont ent-Type:text/html. Is this an error message instead of a SOAP response? at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTran sport.java:148) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96) at com.zafe.webservice.ZafeInfoService_Stub.isServerAlive(ZafeInfoServic e_Stub.java:276) at com.zafe.test.webservice.TestInfoService.testIsServerAlive(TestInfoSe rvice.java:264) at com.zafe.test.webservice.TestInfoService.main(TestInfoService.java:67 ) CAUSE: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response? at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa geImpl.java:581) at com.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:2 54) at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.(Message1 _1Impl.java:49) at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea teMessage(SOAPMessageFactory1_1Impl.java:43) at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClie ntTransport.java:241) at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTran sport.java:113) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96) at com.zafe.webservice.ZafeInfoService_Stub.isServerAlive(ZafeInfoServic e_Stub.java:276) at com.zafe.test.webservice.TestInfoService.testIsServerAlive(TestInfoSe rvice.java:264) at com.zafe.test.webservice.TestInfoService.main(TestInfoService.java:67 ) - I also have modified the jboss-web.xml to specify the security domain. Any idea why I am running into this issue? If I remove the security contraint from web.xml, everything works fine. Cheers, Sanjay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977119#3977119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Exploded Vs Packaged mode
Hello, Refer the following wiki page. http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment It says that, anonymous wrote : In a normal archive, JBoss will redeploy the application when the archive is updated. To force JBoss to redeploy an exploded application simply update the top level descriptor. (web.xml, application.xml, etc.) Hope this might be helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977117#3977117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
Hhhmmm Not really sure why that needed to change. I now see this exception: java.lang.IllegalArgumentException: create method not found at org.jboss.seam.Component.callComponentMethod(Component.java:1342) at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1293) at org.jboss.seam.Component.getInstance(Component.java:1260) at org.jboss.seam.Component.getInstance(Component.java:1246) at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:46) at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:51) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) at javax.faces.component.UIOutput.getValue(UIOutput.java:75) at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:65) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NoSuchMethodException: $Proxy152.loginToSeam() at java.lang.Class.getMethod(Class.java:1581) at org.jboss.seam.Component.callComponentMethod(Component.java:1331) ... 44 more Thanks very much for your help! Barry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977116#3977116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problems with ms sql
I had the same problem. Here's partial code that does the trick. Note that I'm using an EntityManager in a JSE environment, not a JEE environment. Also, since I'm using hibernate, I did one hacky thing... I down casted the EntityManager to EntityManagerImpl. Here's what I wrote to set identity on and off (this is a first pass, I'll properly handle exceptions soon): private void executeSql(final EntityManager em, final String sql) { | try { | getDestinationEm().getTransaction().begin(); | | EntityManagerImpl emi = (EntityManagerImpl)em; //THE HACK | Connection con = emi.getSession().connection(); | Statement s = con.createStatement(); | s.execute(sql); | s.close(); | con.close(); | | getDestinationEm().getTransaction().commit(); | } catch (Exception e) { | e.printStackTrace(); | } | } | | private void setInsertModeOn() { | executeSql(getDestinationEm(), "SET IDENTITY_INSERT Application ON"); | } | | private void setInsertModeOff() { | executeSql(getDestinationEm(), "SET IDENTITY_INSERT Application OFF"); | } Then here's the code to read the from one database (something called TagApplication), create an instance of application (with the id set from the TagApplication row's value) and persist it: // Note that this just performs a query returning all applications after | // a particular date | private List retrieveAllTagApplications() { | final Query query = getSourceEm() | .createQuery("SELECT ta from TagApplication ta where ta.applicationDate >= ?1"); | query.setParameter(1, getIgnoreDate(), TemporalType.DATE); | return query.getResultList(); | } | | public void translate() { | // I've already been given my EntityManagerFactories, so create my EntityManager | if (getSourceEm() == null) { | setSourceEm(sourceEmf.createEntityManager()); | } | if (getDestinationEm() == null) { | setDestinationEm(destinationEmf.createEntityManager()); | } | | try { | // Set IDENTITY_INSERT on Application in HealthTrackDB and begin a transaction | setInsertModeOn(); | getDestinationEm().getTransaction().begin(); | | // retrieve all TagApplication rows | final List tagApplications = retrieveAllTagApplications(); | | // For each TagApplication row, create an Application based on the | // TagApplication (field-by-field hand copy) and (batch) insert it. | for (TagApplication ta : tagApplications) { | Application a = convert(ta); | getDestinationEm().persist(a); | } | | // Finish off the (implicit) batch insert & reset the IDENTITY_INSERT to off | getDestinationEm().getTransaction().commit(); | setInsertModeOff(); | } finally { | getSourceEm().close(); | getDestinationEm().close(); | } | } Brett View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977115#3977115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: insert images into portal-server.war/login.jsp
Why cant we access the images in Portal-server.war as that is also a war file.why is this peculiar behavior? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977114#3977114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem in Replication with Jboss Pojo Cache.
In the release 1.4, there are couple of examples in the distribution. Can you try them out first to make sure if works in your enviornment? And also that you can modify it further for your use cases for troubleshooting. Not replicating can also be due to the mcast not working properly, e.g. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977113#3977113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Eviction Policy problem cache clear
OK, eviction policy has this restriction that if you specify the region name from the xml, it needs to be String-based (since there is no way to express Object from xml configuration). So if you need to evict non-String based fqn, you will have to do it via programmatically yourself. Here is a code snippet that shows you how to do it: | | // ... cache needs to be started first, e.g. | cache_.start(); | | // region name is ignored here. | String xml = "" + | "1" + | "4" + | ""; | Element element = XmlHelper.stringToElement(xml); | | RegionManager regionManager = cache_.getEvictionRegionManager(); | // Fqn is the region name | Integer ii = new Integer(1); | Fqn fqn = new Fqn(ii); | // create region will also add it to the eviction policy map. | Region region = regionManager.createRegion(fqn, element); | Then | Integer ii = new Integer(1); | Fqn rootfqn = new Fqn(ii); | | Integer in = new Integer(3); | Fqn fqn = new Fqn(rootfqn, in); | cache_.put(fqn, in, in); | will be evicted later. BTW, 1) There is a test case: ProgrammLRUPolicyTest for couple test cases. 2) I am adding this example to the FAQ documentation as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977112#3977112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - NullPointerException in jboss calculator example
i'm trying to run the following example and i'm getting NullPointerException http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/sfsb/ HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /my-apps/calculator.jsp:70 67: 68: Past results 69: <% 70: int entries = cal.getStarts().size(); 71: %> 72: 73: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) java.security.AccessController.doPrivileged(Native Method) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217) root cause java.lang.NullPointerException org.apache.jsp.my_002dapps.calculator_jsp._jspService(calculator_jsp.java:127) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) java.security.AccessController.doPrivileged(Native Method) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs. Apache Tomcat/5.5.17 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977111#3977111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977111 ___ 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: Do I have to use Hibernate for EJB3 persistence?
(One week later, still very interested in some information on this topic. Thanks.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977110#3977110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
Change #{todoList.currentUser} to #{currentUser} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977109#3977109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
OK, I was wondering whether something like a servlet filter could do the job, access the Actor in the session context used by Seam, thus avoiding the need for the reference in the JSF page. I've tried petemuir's approach, but I must be missing something basic. I have a stateless session bean: | @Stateful | @Scope(SESSION) | @SecurityDomain("ctSecDom") | @Name("todoList") | public class TaskSession implements TaskSessionLocal, TaskSessionRemote { | | private static final Logger LOGGER = Logger.getLogger( TaskSession.class); | | @Out(scope=SESSION) | private String currentUser; | | @Factory("currentUser")public void loginToSeam() { |LOGGER.fatal( "loginToSeam() called" ); |String username = "testuser"; |currentUser = username; |Actor.instance().setId(username); | } | | ... | in my XHTML page, I have: | | | | | Pooled To-Do Items | ... | but when I enter the URL in the browser, I get the exception: 22:07:47,872 ERROR [STDERR] Oct 9, 2006 10:07:47 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bsheward/platform/trunk/jboss/server/default/deploy/ctp.ear/ctpwebapp.war/WEB-INF/lib/jsf-facelets-1.jar!/META-INF/jstl-core.taglib.xml 22:07:48,173 ERROR [RendererUtils] Property not found - called by component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /utils/taskAdmin.xhtml][Class: javax.faces.component.html.HtmlForm,Id: plist][Class: javax.faces.component.html.HtmlOutputText,Id: _id1]} 22:07:48,174 ERROR [STDERR] Oct 9, 2006 10:07:48 PM com.sun.facelets.FaceletViewHandler handleRenderException SEVERE: Error Rendering View[/utils/taskAdmin.xhtml] javax.faces.el.PropertyNotFoundException: /utils/taskAdmin.xhtml @14,58 value="Actor: #{todoList.currentUser}": Bean: $Proxy152, property: currentUser at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58) at javax.faces.component.UIOutput.getValue(UIOutput.java:75) at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:65) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) ... Shouldn't the valid of currentUser be outjected when the JSF needs to render it? What is the exception message actually telling me? Any assistance would be gratefully appreciated! Barry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977108#3977108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM and BPEL guide
Hello there! I've been trying to download this guide from jbpm docs, but it seems to be a broken link, Im redirected to the jems download page after clicking on it. Its the one posted on september 13th 2006 Any ideas where to find it? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977107#3977107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Non-serializable objects in session break clustered app
AFAIK the problem that was complained about here was fixed ages ago. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977106#3977106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mysterious
No! That is not the solution! Instead makse sure you call close() on all connections, as is required by the JCA spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977105#3977105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
Seam is complaining about a field of your SelectItems class that does not even exist in the code you just showed. So please post a stacktrace and code that are actually consistent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977104#3977104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
Yep, petemuir has got it. Basically, using @Factory or @Unwrap, you can write a component that "pulls" data when you need it. You could even subclass Actor and replace the built-in component with one that automagically populates the actor id from the user principal. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977103#3977103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache 2.0 Release Date
Hi, Maxime, We have developer release CR1 tagged in our internal cvs. So you can check out that verion and build it yourself. Or if you can wait for another week or so, we will have an Alpha release out for public consumption. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977099#3977099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploy my process with jBPM-3.1 in JBOSS-4.0.4GA
Hi all, Now I resolve the problem of deploying process into database. I use the ant task to deploy. and I use the code below to retrieve the process in my application. | this.jbpmContext = JbpmContext.getCurrentJbpmContext(); | this.graphSession = jbpmContext.getGraphSession(); | ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition("simple"); | ProcessInstance processInstance = new ProcessInstance(processDefinition); | | it seems this code doesn't work. Any suggestion? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977100#3977100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - C# with EJB corba
Hi!! I am trying to connect a c# client with an EJB already deployed on Jboss I don´t know how to do it i was trying with a code project tutorial but i had a ,ot of problems can some one put me in the rigth direction sorry for my english do i have to configure someting to use the IIOP or the corbaloc i have alrady conected a java client with remote acces via jnp but now i want to do it with c# Hope somebody can help me!!! is there any tutorial or something or sample code Sorry i am using Jboss 4.0.4 and eclipse Jboss ide as an java editor visual studio 2005 version 8 and framework 2.0 windows xp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977091#3977091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Using C# with Jboss
Sorry i am using Jboss 4.0.4 and eclipse Jboss ide as an java editor visual studio 2005 version 8 and framework 2.0 windows xp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977090#3977090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Using C# with Jboss
Hi!! I am trying to connect a c# client with an EJB already deployed on Jboss I don´t know how to do it i was trying with a code project tutorial but i had a ,ot of problems can some one put me in the rigth direction sorry for my english do i have to configure someting to use the IIOP or the corbaloc i have alrady conected a java client with remote acces via jnp but now i want to do it with c# Hope somebody can help me!!! is there any tutorial or something or sample code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977089#3977089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Is there a static vs. dynamic binding problem with jboss
this problem is now fixed, it was a bug in javassist. the fix is atm only available from the javassist cvs repository, but the upcoming jboss-aop 2.0 will include this fix. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977088#3977088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Non-serializable objects in session break clustered app
Has anyone solved this? I deployed my seam 1.0.1.GA app to jboss/all and I get the same error. In my web.xml I had added: In my jboss-web.xml I had added: |SET_AND_NON_PRIMITIVE_GET | SESSION | | When I back these changes out the error goes away, but obviously this is not what I want to do. Also, all my SLSBs & SFSBs are marked as @Clustered and the SFSBs are Serializable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977086#3977086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Mysterious "Transaction is not active" when trying to get Co
Hi, I'm using jboss-4.0.4 and MySQL. When I try to get a Connection from java.sql.DataSource obj I get the follwing exception: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=ZEEV/16, BranchQual=, localId =16]) 23:48:10,921 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] 23de0 java.lang.Throwable: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:400) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) at com.compushop.storage.CompushopDatasourceFactory.getCompushopDatasource(CompushopDatasourceFactory.java:55) at com.compushop.ejb.session.StorageSessionBeanHelper.initCompushopDatasource(StorageSessionBeanHelper.java:47) at com.compushop.ejb.session.StorageSessionBeanHelper.getStoreProvider(StorageSessionBeanHelper.java:59) at com.compushop.ejb.session.SessionDSBean.searchCategories(SessionDSBean.java:107) at com.compushop.ejb.session.SessionDSBean.getCategoryData(SessionDSBean.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:64) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) Googling this exception I found that increasing a time out for the TransactionManagerService in jboss-service.xml solves the issue. So I changed TransactionTimeout attribe from 300 to 3000. This partly solved my problem. The first datasrc.getConnection() I pass smoothly. When I try to allocate another connection from a datasource I fail on the same exception "Transaction is not active". I obtain a datasource object through jndi: String jndiName = "mydb"; InitialContext ctx = new InitialContext(); datasrc = (DataSource) ctx.lookup("java:" + jndiName); Connection conn = datasrc.getConnection(); Thanks. Zeev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977084#3977084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977084 ___ 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: JBoss 4.0.4 fails to deploy Hibernate
Ah Ha I found a reply in one of the other posts that led me to the attachments I need to download.They were at the following url : http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernateSwitching you want hibernate3-deployer.zip which contains an archive that when extracted into server/default/deploy/jboss-hib ernate.deployer/ provides the missing files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977082#3977082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem with hibernate code gen.
as listed many places the seam gen currently doesn't handle composite ids View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977083#3977083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Populating Lookup Column in JSF Table using Seam
The code you have written will work. But it will only ever retreive one security code - not one per 'person' (row) of the datatable. If you want to calculate a temporary value for each person (that isn't stored in the database) then I would suggest using a transient field on the Person entity. Then, when you populate personList, loop over personList and 'calculate' the value. This would normally be in a @Factory method - but I can't see yours. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977081#3977081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating Simple Seam Project in Eclipse failed
To me it looks like you are trying to deploy a DataSource called bookingDatasource twice (again). Try not deploying the datasource again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977080#3977080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
Please show the User class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977078#3977078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
I would assume that at some point you make the user (username at the very least) accessible as a Seam managed object - i.e. you have devised a way of knowing, within seam, who is logged in. So just add the Actor bit to that e.g. @Out(scope=SESSION) | User currentUser; | ... | @Factory("currentUser")public void loginToSeam() { |String username = retrieveCurrentUserFromCustomLoginMethod().getUserName(); |currentUser = em.find(User.class, username); |Actor.instance.setId(username); | } Then make sure you reference currentUser on the first (every?) page to be hit (you could have a non-rendered outputText for example). Though maybe the new security api will have hooks for this sort of thing in? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977077#3977077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Nested entities and lists
BTW, this is an outer join, where some Locations will not have Areas associated with them at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977075#3977075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: [log4j] SMTPAppender with more than one line per email
okay, figured out (at least in my case) It is the problem with printstacktrace call which was generating mutiple emails for a single exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977074#3977074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Nested entities and lists
I have an entity, Location, which has List. While querying Location, I only want the areas which have a STATUS field of 0 (zero). Is it possible to do this in one query or do I need to do it the "hard way?" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977072#3977072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: [log4j] SMTPAppender with more than one line per email
Hmmm, It is sending one exception tracelog into multiple emails View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977070#3977070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
Gavin, Thanks for helping me out. I now have my ejb's deploying, but I I still get the same error In attribute requires value for component: selectItems.stateBean ... Here is my startup log. | 14:21:18,936 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss/jboss-4.0.4GA/server/default/deploy/sweetcakes.ear | 14:21:20,169 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.sweetcakes.model.StateListAction [EMAIL PROTECTED] | 14:21:20,234 INFO [Ejb3Deployment] EJB3 deployment time took: 119 | 14:21:20,279 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=sweetcakes.ear,jar=sweetcakes.jar,unitName=sweetCakesDatabase with dependencies: | 14:21:20,280 INFO [JmxKernelAbstraction] jboss.jca:name=sweetCakesDatasource,service=ManagedConnectionFactory | 14:21:20,306 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.Address | 14:21:20,321 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.Customer | 14:21:20,325 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.State | 14:21:20,345 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.cakes.Cake | 14:21:20,348 INFO [Ejb3Configuration] found EJB3 Entity bean: com.sweetcakes.model.cakes.filling.Filling | 14:21:20,424 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 14:21:20,473 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml | 14:21:20,475 INFO [Ejb3Configuration] [PersistenceUnit: sweetCakesDatabase] no META-INF/orm.xml found | 14:21:20,499 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Address | 14:21:20,515 INFO [EntityBinder] Bind entity com.sweetcakes.model.Address on table Address | 14:21:20,581 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.Customer | 14:21:20,583 INFO [EntityBinder] Bind entity com.sweetcakes.model.Customer on table Customer | 14:21:20,606 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.State | 14:21:20,609 INFO [EntityBinder] Bind entity com.sweetcakes.model.State on table State | 14:21:20,615 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.cakes.Cake | 14:21:20,616 INFO [EntityBinder] Bind entity com.sweetcakes.model.cakes.Cake on table Cake | 14:21:20,631 INFO [AnnotationBinder] Binding entity from annotated class: com.sweetcakes.model.cakes.filling.Filling | 14:21:20,632 INFO [EntityBinder] Bind entity com.sweetcakes.model.cakes.filling.Filling on table Filling | 14:21:21,038 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 14:21:21,047 INFO [InjectedDataSourceConnectionProvider] Using provided datasource | 14:21:21,049 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.19-max | 14:21:21,049 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ ) | 14:21:21,051 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect | 14:21:21,052 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 14:21:21,054 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup | 14:21:21,055 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup | 14:21:21,056 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 14:21:21,056 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 14:21:21,057 INFO [SettingsFactory] JDBC batch size: 15 | 14:21:21,057 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 14:21:21,057 INFO [SettingsFactory] Scrollable result sets: enabled | 14:21:21,058 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled | 14:21:21,058 INFO [SettingsFactory] Connection release mode: auto | 14:21:21,059 INFO [SettingsFactory] Maximum outer join fetch depth: 2 | 14:21:21,059 INFO [SettingsFactory] Default batch fetch size: 1 | 14:21:21,060 INFO [SettingsFactory] Generate SQL with comments: disabled | 14:21:21,060 INFO [SettingsFactory] Order SQL updates by primary key: disabled | 14:21:21,061 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 14:21:21,062 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 14:21:21,062 INFO [SettingsFactory] Query language substitutions: {} | 14:21:21,063 INFO [SettingsFactory] Second-level cache: enabled | 14:21:21,063 INF
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 4.0.4 fails to deploy Hibernate
Hi; I just downloaded a fresh verison of JBoss 4.0.4GA selecting the ejb3 option. I also selected SapDB as my default datasource. When I execute the run.bat I get the following error output: 12:23:48,375 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/jboss-hib ernate.deployer/ org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-hibernate.deployer at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
[jboss-user] [Messaging, JMS & JBossMQ] - Messages to a Single Client
I'm trying to figure out a way to have a stateful session bean send an asycnhronous message back to the client that is currently using it. More specifically, the different private methods in the beans should send a message back to the client informing it of its progress. I've looked into JMS but that looks like it more-so broadcasts a message or sends a response to an arbitrary client. Is there a good way to do this with EJB/JBoss? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977065#3977065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - portlet action problem
Hi, I have a strange problem invoking a portlet action. The first page is rendered successful but if I click any link on the portlet the browser tries to access a SSL page and I get a connection error because I?m using http access. The URL is automatically changed to something like: http://127.0.0.1:8443/portal/sec/portal/demo/mypage/myPortletWindow?action=d&windowstate=normal I should mention that I start my portlet not direct but forwarding to it. I have a servlet that contains some logic and forwards the request to the portlet: getServletContext().getContext("/portal").getRequestDispatcher("/portal/myportal/mypage").forward(request, response); The problem appears only if the portlet has anonymous access enabled! Can anybody explain this strange behavior? Thanks Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977064#3977064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Double HttpRequest Problem
How did you determine that the app server is sending the requests twice? Personally, I have never experienced this behavior. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977062#3977062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Portal Settings Not Saving
Sorry, but I am not familiar with Pentaho. I use JBoss AS 4.0.4GA and Portal 2.4.0.GA with MySQL or PostgreSQL. Haven't used the Portal with Hypersonic. Page definitions are stored in the database (in Portal 2.4), so I suspect that the problem is database related. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977061#3977061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal Settings Not Saving
I have been workting with both Windows and MacOS installs of JBoss 4.0.3 with Hypersonic and almost all of the admin settings do not get saved when the portal is restart. Assigning a Portlet an instance is an example of something that has not stuck. I can edit the files by hand, but that is extremlely laborious and prone (to this newbie) to error. Thoughts? I did post this on installation board originally. Bill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977060#3977060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM BPEL: Process Performance and Workload ?
1) Well, as you know, endpoints backed by a BPEL process are stateful. In general, you will have a process instance per request, unless two or more requests correlate to the same process instance. In this case these requests will execute the same instance. This is a consequence of the design of the BPEL language. You can expect performance similar to stateful session beans in the EJB domain. 2) In jBPM, a process instance is composed of one or more tokens. Each token represents a path of execution. Initially, a process instance contains a single token which represents the main path. When the process logic encounters an activity with more than one path of execution (the flow activity, a scope with event handlers, etc) the engine spaws one token per path. jBPM runs these paths serially to avoid starting new threads because this is forbidden in a Java EE environment. This might look bad, but in practice it is not: jBPM stops executing a path of execution when it encounters a blocking activity (these include inbound message and time-driven activities). When jBPM stops executing a path, a separate server thread must resume the execution of that path. This is where JMS is critical to the BPEL runtime: it allows for executing more than one path of the same process instance in parallel, while fully adhering to Java EE guidelines. To illustrate, consider the following example: | | | | | | | | | | | | The order of execution is: [thread-1] a, b1, c1 [thread-2] b2 [thread-3] c2, d Note that d executes in either thread-2 or thread-3 depending on what request arrives first, b2 or c2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977059#3977059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Exploded Vs Packaged mode
Hi, When i deploy in Exploded mode and the server is running, I am unable to redeploy after adding a new method, I am forced to stop the server and do the redeploy, I observed struts.jar is locked. However, when i deploy in Packaged mode i am able to undeploy, deploy or redeploy without stopping the server and the changes (new methods that are added) are reflected, i am kind of confused which Mode i should use? it seems if i use Packaged mode i can modify the code (add new methods) and doesn't have to stop the server. With this observation I think Packaged benefits than Exploded? Am I correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977058#3977058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Portal Settings Not Saving
Its Hypersonic, not hibernate. WAYYY too late last night working on this portal. Bill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977057#3977057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Marshalling problem
Is you EAR scoped? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977056#3977056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Problem with hibernate code gen.
I followed the video example to generate Seam project from a database using Jboss IDE. And after I run it this went off: [img]http://jp4e.netkosice.sk/temp/hib_ex.png[/img] Whats the problem? And How did Jboss AS know about the new project the tutor created in the video. thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977054#3977054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Assigning an Actor for SEAM-jBPM integration
Hi, I want to use SEAM and jBPM together, which seems simple enough, but I've come to realize that setting the "actor" component is absolutely critical to getting it to work. I've read through a number of threads on this forum and seen a number of posts saying "follow the examples". The problem is that the examples (todo, dvdstore) all require a SEAM specific login process, while I am forced to use HTTP basic during testing, and CAS (a single sign-on solution, found at http://www.ja-sig.org/products/cas/). I've bought and read the JBoss SEAM: Simplicity and Power Beyond Java EE and it doesn't go into much detail on this subject. So I'm wondering, what's the best way to set the actor without needing a SEAM specific login page? Thanks, Barry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977055#3977055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Clustered Beans and Testing with the Embedded Container
OK. I hacked together a simple solution with a mock partion that seems to work fine. I'll add the details to the jira issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977050#3977050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: ehCache 1.2 doesn't replicated data in the JBoss cluste
Suggest you post on an ehCache forum or the forums on hibernate.org. Maybe another user will answer you here, but I doubt that any of the JBoss folks who monitor this forum will know the answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977049#3977049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error testing atm bpel process, java.lang.reflect.Invoca
Well, I successfully tested with: Windows XP SP2 Sun JDK 1.4.2_10, 1.5.0_07 JBoss 4.0.4.GA, 4.0.3SP1, default configuration JBossWS 1.0.3.GA jBPM BPEL 1.1.Beta2 I haven't tried the all configuration. Please try with the default and let me know whether the problem appears there too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977048#3977048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Q about login config
Q1: I have an application that I am able to deploy and run on JBoss app server. I use a custom LoginModule for authenticating users into this application. The LoginModule is configured in /conf/login-config.xml as: com.sun.jndi.ldap.LdapCtxFactory com.gsnx.core.server.security.LdapLoginModule ldap://127.0.0.1:389 cn=Manager,dc=gsnx,dc=com changeme ldap simple dc=gsnx,dc=com cn={0} true As can be seen the custom loginModule contacts an LDAP server for authentication. All this works fine as long as I can edit the conf/login-config.xml file in my JBoss app server configuration to include my custom loginModule. Now, for certain organizational reasons, I do not want to edit the conf/login-config.xml file in JBoss app server's path. So my Q is, is there a way I can configure my custom LoginModule without ever needing to edit the conf/login-config.xml in Jboss's path? Can I somehow provide an additional login-config.xml inside my application's path? Or is there some other way to configure the custom LoginModule so that the configuration remains completely inside the application and does not affect any of the default configuration files for the JBoss app server? Q2: Another issue related to the above situation is that I have an external Java RMI program that uses the same custom LoginModule as above for authentication. The loginModule is configured for this external RMI program in a login.config file that is in the classpath in the following way: gsnx.security.Login { com.gsnx.core.server.security.LdapLoginModule required initial-context-factory="com.sun.jndi.ldap.LdapCtxFactory" ldap-url="ldap://devwrk65.dev.e2open.com:389"; connection-username="cn=Manager,dc=gsnx,dc=com" connection-password="slapface" connection-protocol="ldap" authentication="simple" user-search-base="dc=gsnx,dc=com" user-search-pattern="cn={0}" user-search-scope-subtree="true" user-password-changepw-gsnx-handler="com.gsnx.core.server.security.LdapLoginModule" user-password-attribute="userPassword" role-search-base="" role-name-attribute="" role-search-pattern="" role-search-scope-subtree="" user-role-attribute=""; }; Additionally, an entry is added to /jre/lib/security/java.security file: login.config.url.1=file\:C\:/gsnxst/deploy/conf/login.config Basically, the entry in java.security points to the login.config that has the configuration for the custom LoginModule. Once again, this works fine as long as I can edit the java.security file in JAVA_HOME. But, again for organizational reasons, I do not want to edit the JAVA_HOME java installation files. Is there another way to configure my custom LoginModule for java so that I do not have to physically mess around with the Java configuration. There could be other Java programs, running on the same machine, and I don't want them affected by my login.config setting. Is there another alternative way to configure the custom LoginModule for java? Thanks and will appreciate all responses View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977047#3977047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error testing atm bpel process, java.lang.reflect.Invoca
Hi, I am using :jboss-4.0.4.ga (server all). jbpm-bpel-1.1.Beta2 jbossws-1.0.3 Do you need any more information? The problem is that i think I have changed something else because I had some ERRORS. I have followed the steps in the user guide. ant deploy-process, ant generate-service , etc and then ant run-test If i had to begin from the scratch what should i install (and versions), in order to reproduce your environment ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977044#3977044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Embedded EJB3.0 and Tomcat JDNI error
I noticed a release note for RC9 [EJBTHREE-654] - remove hard coding of TransactionManager I've also noticed that when running an embedded ejb3 app in Tomcat the jndi.properties file is not enough to make an initial context pick up the correct properties, and I need to do this to find anything that embedded ejb3 deployed: | Hashtable props = new Hashtable(); | props.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); | props.put("java.naming.factory.initial", "org.jnp.interfaces.LocalOnlyContextFactory"); | InitialContext ic = new InitialContext(props); Perhaps there's an issue deep in there when looking up the transaction manager? I'm unsure of how to log this to JIRA... Is this an issue that should be logged to JIRA or am I doing something wrong configuring the JNDI for Tomcat? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977043#3977043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Clustered Beans and Testing with the Embedded Container
I created a JIRA issue: http://jira.jboss.com/jira/browse/EJBTHREE-731 If you have any hints I can take a swing at the proper micro-container configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977039#3977039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: using a porta page within
Use /portal/myportal/Login It should be relative to your portal context. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977037#3977037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Both binary and source downloads fails to get deployed
Downloaded, unzipped and ran ./run.sh the bundled one. Are there any platform specific (Ma os x) changes to be made ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977036#3977036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Cannot create EJB3.0 Project
Hi there, I have a problem with creating an EJB3.0 Project. When I need to choose the Server on which the Project shall be running, after selecting the Server the finish button does not get enabled. Further more i cannot select a Server in the already existing Projectproperties. I use eclipse 3.2.1 and the JBoss 2 Beta. Has anyone had this problem and solved it? I would be very happy, if anyone could help me. Thx, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977035#3977035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Clustered Beans and Testing with the Embedded Container
that is a good task for JIRA. Please log it. You should be able to test a clustered bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977034#3977034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - SAAJ 1.3: SOAPBody.extractContentAsDocument()
Hi, I need the methode Document SOAPBody.extractContentAsDocument() which is new in SAAJ 1.3 unfortunatly this is not part of jboss-saaj. Any suggestions, how to work arround? Kind regards, Mario View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977033#3977033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction problem after upgrade
A "similar" problem? What is the stacktrace? Note that you don't use @End and @EndTask together. One or the other. Same with @Begin and @BeginTask. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977032#3977032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - SOAP Headers
I'm using BPEL 1.1 beta2 and I need to be able to set (and read) a header variable in a SOAP invokation to a partner. I've searched around and I'm still not clear whether this is possible with JBoss's BPEL (it's not really covered by the OASIS spec). Is it possible to set SOAP headers using BPEL and if so how? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977031#3977031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Postback/form resubmission detection
If you do the work in a long-running conversation, and then end that conversation when redirecting back to the home page, then Seam automagically detects that the conversation is over when the form is resubmitted. It Just Works. Try this out in the booking demo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977030#3977030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener
You'll have to use your debugger. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977029#3977029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ManagedEntity class has gone
This component was NEVER released in any kind of packaged version of Seam (not even a beta). It was pure CVS stuff. Now, of course, all old code is ALWAYS available in CVS, that is why we have a version control system! If you look at the new example application in CVS, you will see how to use the org.jboss.seam.framework.EntityHome class that replaces it. This is a much enhanced design. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977028#3977028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - TCLFilter Usage?
I have successfully used the TCLFilter to separate application specific logging events ["APPLICATION_ONE", "APPLICATION_TWO"]. The problem is that application specific events are also being logged to my DailyRollingFileAppender ["FILE"], which is undesired behavior. What is the best way to eliminate this duplicate logging? I attempted to configure multiple TCLFilters in DailyRollingFileAppender ["FILE"] using AcceptOnMatch param = "false", which works a single TCLFilter is used, but because of the way the TCLFilter is written (see TCLFilter.java below), multiple TCLFilters cannot be used in this way(I need to filter both application specific logging events from DailyRollingFileAppender ["FILE"]). I am new to log4j, what am I missing here? Is there another way? TCLFilter.java *** . public int decide(LoggingEvent event) { int ok = Filter.DENY; if( acceptOnMatch == true ) { ok = Filter.DENY; if( isMatchingTCL() ) ok = Filter.ACCEPT; } else { /** * ok ACCEPT by default, if isMatchingTCL() returns false, no other filters are evaluated */ ok = Filter.ACCEPT; if( isMatchingTCL() ) ok = Filter.DENY; } return ok; } log4j.xml *** I attempted to post all of the appenders, but the forum would not accept it for some reason... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977027#3977027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
then why not have the task created by jbpm and ADD additional tasks runtime afaik that is a normal supported option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977024#3977024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Why am I not receiving Notifications?
My primary goal is to receive notifications from Naming (JNDI) MBean - that is, receive notifications for any additions or deletions or modificatios to the JNDI namespace. I have followed the wiki ListenerServiceMBeanSupport example and created a dummy notication lsitener which just prints out the info messages. The xxx-service.xml is given below: | | | | | | | | | | | | | | | | | Unfortunately I can't get see any notifications received when I bind/unbind objects to the jndi namespace. My listener is below: | public class JNDINotificationListener extends ListenerServiceMBeanSupport | implements JNDINotificationListenerMBean { | /* | * Logger | */ | private Logger logger = | Logger.getLogger(AbstractFlowComponent.class.getName()); | | public JNDINotificationListener() | { | logger.info("JNDINotificationListener constructor"); | } | | public void startService() throws Exception | { | super.subscribe(true); | } | | public void stopService() throws Exception | { | super.unsubscribe(); | } | public void handleNotification2(Notification n, Object handBack) | { | logger.info("Received Notification: "+n+", handback: "+handBack); | } | } | | Ideally i want to extend the notification listeners for other services too.. Any pointers to what I'm doing wrong? Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977022#3977022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Clustered Beans and Testing with the Embedded Container
I have been using the embedded container to do my ejb3 unit testing. Now I am starting to use the @Clustered annotation to cluster my beans. However, I still want to unit test them. But I get a "HAPartition not bound" exception when running my unit tests. Obviously I need to find the minimum set of entries to add to the micro-container configuration to bind enough of an HAPartition to make everything happy. Has anyone tried this and found the necessary entries? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977023#3977023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: How can i get my Castor application work under JBoss4.0.
Try to use parsers libriaries from ${jboss_home}/lib/endorsed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977020#3977020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Portal Settings Not Saving
Peter, Yes, it probably is better in portal now that you mention it, but I really don't want to cross post now. I am using JBossAS-4.0.3 SP1. The database is hibernate. It is the pre-configured JBoss that comes with Pentaho (1.2 RC2), but it is not Pentaho (at the moment) that I am struggling with. I will do a custom install when I get a bit more comfortable with the platform. The issue is that I have had to go to manual editting of files, because almost all portal settings through the GUI have been wiped after portal restart. I have given all the privileges that I can to the admin user and a portal user. I have also chmod'd everything to see what is going on. I have noticed odd behavior with the admin side on IE (does not work here) versus Firefox. I am sticking with Firefox for the configuration. I appreciate your thoughts. Bill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977019#3977019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring context same jar as EJBs?
Maybe you can use this approach: - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92146 Having a single jar with injectable beans and ejbs - and jboss-spring.xml in ear root - pointing to that beans. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977018#3977018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC
Thanks. See http://jira.jboss.com/jira/browse/JBCACHE-802 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977016#3977016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: how to support custom CacheLoader callbacks to register
Still, odd that this is triggered by trying to load /teacher/Jones. I would expect the student data to be loaded lazily when accessed separately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977014#3977014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How to specify cache loader for a specific region?
Sorry, this cannot be done at the moment. The cache loader applies to the entire cache. Try using separate cache instances. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977013#3977013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Caching for Web services?
There is an entire chapter on configuration: http://labs.jboss.org/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/index.html Do let us know if you have any success with your efforts. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977012#3977012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/troubleshooting.html#conf2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977007#3977007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Portal Settings Not Saving
Which version of JBoss Portal are you using, and what database are you using? (By the way, this post should have gone in the JBoss Portal forum, you'd probably get more help there.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977006#3977006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Fresh install throws startup error
This class is located in the jboss-remoting.jar file, which should be in server/default/lib. How did you install JBoss? Via the installer jar file, or download and unzip the zip file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977005#3977005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: duke's bank example doesnot compile in jboss4.0.4
How did you install JBoss AS? Did you use the installer jar file, or did you download and unzip the binary zip file? The tutorial assumes you did the later. (I know the tutorial builds properly, just did it last week.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977003#3977003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Exception sending context initialized event to listener inst
Please let me know what are the reasons this exception can occur. Thanks Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.NullPointerException at sun.beans.editors.BoolEditor.setAsText(BoolEditor.java:38) at org.jboss.seam.Component.initInitializers(Component.java:314) at org.jboss.seam.Component.(Component.java:209) at org.jboss.seam.Component.(Component.java:159) at org.jboss.seam.Component.(Component.java:154) at org.jboss.seam.Component.(Component.java:149) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:381) at org.jboss.seam.init.Initialization.addComponents(Initialization.java:255) at org.jboss.seam.init.Initialization.init(Initialization.java:195) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977001#3977001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss AS support for Java EE 5
Jeff I put this question to the JBoss sales team and received this answer from their UK sales manager: anonymous wrote : Jboss is highly focused on meeting all Java specifications and we are very active in the standards bodies for JEE5 which is due out towards the end of the year/early next year. JBoss AS5 will be fully compliant with JEE5 specifications and EJB3 will be fully complaint with all standards. | The wording's a bit unclear, but I think he's saying that JBoss AS5 should be out by early next year. Simon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977000#3977000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA
Going by the number of people reporting this problem, i decided to test a sample application. Here's what i found: - It looks like the way you mention the security domain in the jboss.xml has changed. In earlier versions, you were supposed to specify something like: | java:/jaas/jbossmq | i.e the entire jndi name. However this version JBoss4.0.4 GA (i tried out only on this version), needs you to specify only the security domain name. Something like: | jbossmq | This worked for me(Replace the jbossmq with any other security domain name that you want to use and is defined in login-config.xml). I did not specify any SecurityDomain annotation in the bean and just added the above mentioned line in jboss.xml and it worked. So conclusion is, you can still use the jboss.xml without having to specify a annotation in the bean. Now i am not sure whether this is a bug in JBoss or whether this change in behavior was intentional but was missed out in the documentation. If any JBoss developer considers this as a bug, do let me know, i can provide the test case along with the logs that i have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976999#3976999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection
"richmitc" wrote : I am new to JBoss. I recently downloaded Portal 2.4CR1 and installed it on Fedora Core 5. I was experimenting with the various theme selections. After trying each of the other four, I tried "No Selection". Now I get a HTTP 500 error with a Null Pointer Exception no matter where I go. I'll try to figure out Hibernate and see if I can reset it. Maybe. Or perhaps, I'll just reinstall from scratch since I haven't done much yet. | | Anyway, if someone has a quick-and-dirty to fix this, I would appreciate it. | | Thanks. | | Rich I'm having the same NullPointerException error But how can I remove my database with JBoss Portal Bundled version (jboss-portal-2.4.0-bundled running on windows) Thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976997#3976997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpmContext in webapp
hi, i want to adapt the jbpm webapp to the needs of our company, therefore i've implemeted an own context manager which creates a context instance with a certain configuration which is needed, that's the only thing i adopted so far, i've put these adoptions into the an own jbpmcontextfilter where i create my context with my own configuration, everything else (beans etc.) haven't been changed so far. if i try out the webapp with one user everything works fine, but if i login with a second (using another browser) and starting two parallel processes i sometimes get an error which tells me that the context has already been closed and i should check my finally blocks. there seems to be a problem with the filter, should not have every user an own context in his session? gerald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976996#3976996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Spring context same jar as EJBs?
Hey, Currently in EJBs I can use @Spring annotation and such beans must be depoyed to jboss using separate .spring archive. This means two separate jars: one for spring context and other for EJBs. But I would like to have spring context specific for ejb module and so they should be deployed together in one jar. How to do that so that I'm still able to use @Spring injection tag in EJBs etc? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976995#3976995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user