[jboss-user] [EJB 3.0] - embedded jboss has no hibernate version?
I downloaded embedded-jboss-beta3.zip and the hibernate has no version information. Also, when I need to put a fix in hibernate, I can't just drop in the hibernate jar. I need to explode this hibernate-all.jar and then put it back together. 1. Very dangerous to be deploying stuff where we don't know which version it is. 2. hibernate-all makes it hard to replace any jars that need a quick fix to a bug where you can't wait for open source to put out another version. Is this going to be fixed? thanks, dean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133801#4133801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Is there a user guide?
novenyang wrote : I also has the similar problem. | | If anybody knows any user guide? | | Thanks, I think, it'll help you http://www.redhat.com/developer_studio/guides/as/html_single/. Besides, look up at http://www.redhat.com/developer_studio/guides/as/html_single/ to find out more on how to configure use JBoss Tools within Eclipse View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133804#4133804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - jsf pluggable pages?
I have jsf application, written using facelets. I want it to be extedable with custom modules. Module is simple jar with faces-context.xml in it. I can place it in /WEB-INF/lib directory, register somehow in my app, for example by specifying main class of module, so later, after deploy, I can reach all resources from this jar. As specified in spec, I can add managed beans and custom navigation rules into module's faces-context.xml. But what about jsp pages? How can I add them and later tell my main app to use them? For example, I have rule: navigation-rule |from-view-id/modules/test/foo.jsp/from-view-id |navigation-case | from-action#{moduleBean.doSmth}/from-action | to-view-id/modules/test/foo1.jsp/to-view-id |/navigation-case | /navigation-rule (let's say, that every module must use /modules/module_name prefix). Both foo.jsp and foo1.jsp are located in module_test.jar, which is (as Imentioned before) in /WEB-INF/lib folder of my main app. So how will main app understand that it must load jsp's from module_test.jar? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133810#4133810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Queer error: java.lang.LinkageError: loader constraints viol
Hi, I faced a queer error with JBoss 4.2.2 GA, so thought of reporting it even though I managed to circumvent the problem. I have a stateless EJB LoginBean, with remote interface Login: Remote Interface: package com.justbooks.security; | | import javax.ejb.Remote; | | import com.justbooks.entities.Profile; | | @Remote | public interface Login { | public boolean signOn(Profile profile); | public boolean signOn(String loginName, String loginPassword); | } | Bean Class: | package com.justbooks.security; | | import javax.ejb.Stateless; | | import com.justbooks.entities.Profile; | import com.justbooks.security.Login; | import javax.persistence.*; | import com.justbooks.utility.*; | | public @Stateless class LoginBean implements Login | I have a DAO Stateless EJB called ProfileDAOBean, with remote interface ProfileDAO: Remote Interface: package com.justbooks.dao; | | import javax.ejb.Remote; | | import com.justbooks.entities.Profile; | | @Remote | public interface ProfileDAO { | public Profile findProfile(String loginName); | public boolean authenticate(String loginName, String loginPassword); | public boolean changePassword(String loginName, String oldPassword, | String newPassword); | | } | Bean Class: | package com.justbooks.dao; | | import javax.naming.Context; | import javax.naming.NamingException; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.persistence.Query; | import javax.ejb.Stateless; | | import com.justbooks.utility.EJBFinder; | import com.justbooks.entities.Profile; | import com.justbooks.security.ChangePassword; | import com.justbooks.security.Login; | | public @Stateless class ProfileDAOBean implements ProfileDAO | If I include the lookup code for LoginBean inside ProfileDAOBean, then the application works just fine. But if I use a helper class to find EJBs, my application throws up an error saying anonymous wrote : 15:01:57,890 ERROR [[default]] Servlet.service() for servlet default threw exception | java.lang.LinkageError: loader constraints violated when linking com/justbooks/security/Login class EJBHelper: package com.justbooks.utility; | | import javax.naming.Context; | import javax.naming.NamingException; | | import com.justbooks.security.ChangePassword; | import com.justbooks.security.Login; | | public final class EJBHelper { | private static Context getInitialContext() | throws javax.naming.NamingException | { | return new javax.naming.InitialContext(); | } | | public static Login getLoginEJB() { | try { | Context jndiContext = getInitialContext(); | //TODO put these lookup strings in properties file | Object ref = jndiContext.lookup(JustAutomate/LoginBean/remote); | Login login = (Login)ref; | return login; | }catch (NamingException ne) { | ne.printStackTrace(); | return null; | } | } | | public static ChangePassword getChangePasswordEJB() { | try { | Context jndiContext = getInitialContext(); | //TODO put these lookup strings in properties file | Object ref = jndiContext.lookup(JustAutomate/ChangePasswordBean/remote); | ChangePassword changePassword = (ChangePassword)ref; | return changePassword; | }catch (NamingException ne) { | ne.printStackTrace(); | return null; | } | } | } If I change the name of the class to EJBFinder, then everything starts working fine again. Not sure what the problem is. As of now, I have circumvented the problem by renaming the class from EJBHelper to EJBFinder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133816#4133816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to create native thread
Hi Tim, Thank you for your respond. Yes, I created many sessions. I am going to check them now. May be I forget to close them. Btw, there is an occasion where the memory allocated for the threads is freed. This is happened daily, as if, there is a cron job in jboss server. I said that this is a cron job, and not a normal garbage collection, since the cleaner works at certain time everyday. I have read the manual in jboss server and jboss messaging, but don't find anything about this. Do you know something about it? I think if I can configure the cleaner to run every 12 hours, my application will work fine. Thank you in advance. Best Regards, Hendra View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133817#4133817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss Messaging clustering
Hi, I installed jboss messaging 1.4.0sp3 in 2 nodes (jboss 4.2.1GA) .I configured properly (some default configuration) for clustering.I given unique id for sever peer. and i created jms destinations with clustering(given clustering is truein destination.xml). When i started to test the jms queue in single node , working fine.but when the 2 nodes at running at same time in cluster mode, messages are not sending to end point. no errors are throwing.there is no execution of my code.but if any one of the node is forced to down all the message queue are sending properly. I dont know what actually the problem in clustering.Please help me someone. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133818#4133818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering
Did you manage to successfully run the examples, including the clustering examples? (See user guide) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133820#4133820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error Displaying AJAX out of box portlet
ERROR Cause: javax.portlet.PortletException: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.jboss.portal.portlet.taglib.DefineObjectsTagTEI Message: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.jboss.portal.portlet.taglib.DefineObjectsTagTEI StackTrace: javax.portlet.PortletException: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.jboss.portal.portlet.taglib.DefineObjectsTagTEI at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:91) at com.sun.portal.jspportlet.JspPortlet.doView(JspPortlet.java:57) new to JBoss portal,simply deployed .war file and it gives above error if anyone knows please post back View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133821#4133821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Define CacheLoader for different Regions
I've searchend the documentary and this forum, but i cant find anything relies to this topic. It is possible to Define CacheLoader for a special region, so that my cache would be persisted in parts, not completely? Or is there a other way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133825#4133825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - ICEfaces with JBPM-3.1.4
Icefaces with JBPM-3.1.4 Hi All...Good Afternoon...! pls let me know shall i use icefaces with my jbpm application with out using seam... if yes pls provide the necessary documentation. or links. Thanks in Advance waiting 4 ur reply Regards, Sathya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133826#4133826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Is there a user guide?
Sorry, It'll be better to use nightly doc builds http://download.jboss.org/jbosstools/nightly-docs/ to get the latest information View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133829#4133829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How to use configurable information
Hi, I am pretty new to the EJB technology and got into an issue that I couldn't solve on my own. I use a MDB to send emails, and I place some configurable information in that email. Basically what I would like to do is to specify some information in a configuration file when my MDB is deployed into the application server, and then use the information from the configuration file for creating the email content. So, my question would be how to specify and access this information? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133831#4133831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering
Hi , Thanks for your reply.Examples are working fine. but the example destinations are not clustered.for example, but my destinations are having,extra attribute which is clustered is true true Is it wrong? i followed as per the specification.when changed it as false, working fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133832#4133832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: MyMBean depending on MyOtherMBean issues
Thanks Dimitris! Though I still have my dependency problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133833#4133833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
Hi. The clients were using the following libraries: JBM: Implementation-Version: 4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548). This taken from EAP 4.3\client JBR: Implementation-Version: 4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548). This taken from EAP 4.3\client View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133836#4133836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Shutdown behavior
Bump. Maybe some of the techies can help me out. Is there any way to set the minimum time for a shutdown? While I presume ultimately the JVM will define when the system goes down, I have noticed that I will (sometimes) actually wait a little longer then usual. Is there any way to force such a behavior? Again, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133838#4133838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Getting source code for jboss plugin in eclipse
This should just work. What I normally do though is to edit the source paths in the dialog that shows up when it can't find the source...I don't edit the launch configuration directly. Does that work for you ? In any case report it in jira with screenshots on how you setup the launch configuration. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133840#4133840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Packaging support?
currently manually writing the build.xml is the best way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133841#4133841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.0GA with Eclipse 3.3 RCP problem
1.6.0 with Eclipse 3.1 is 2.5 years old ,) A couple of things has changed since then. One of those is that we use Eclipse WTP for the server definitions meaning you need that to be installed and that comes with Eclipse 3.3 EE version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133843#4133843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Using Seam 2.0.1.CR1 with JBoss Tools 2.0.0.GA
yes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133844#4133844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Tools Dialogs and SEAM
I am not exactly sure what you are seeing, but it is working at my end ,) if you still see issues with it please open up jira with these with screenshots please of what you are seeing and with text of what you actually expected to happen. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133845#4133845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cant get jboss tools 2GA to work with Ganymede build
Ganymede (Eclipse 3.4/WTP 3.x) is not released yet. JBoss Tools is targetted at Europe (Eclipse 3.3/WTP 2.x) Anyone who would like to get Ganymede support should check out the code and help us adjust for the public and internal API changes. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133847#4133847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
Hey, That what I was looking for, It doesn't really matter for me if the logic is done via an action or a custom node type as long as there's a possibility to create 'different' gui nodes, Where can I find the example? including the GPD customizations? and btw, is it also possible to modify the properties of the node via the gui? like customizing the parameters of the actions through the gui (properties view) instead of typing the parameters in free text? Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133851#4133851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - NegotiateKerberos and JbossAdmin Group issue
Hello I tried to use the NTLM authentification as described here http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos. I'm using jboss AS 4.2.2 GA. I'm using the test case found on the wiki page. My Activ Directory server traces my authentification. But jboss (or whatever it is) gives me the roles of JBossAdmin. In the AD, I'm not part of any group named like this. Thus if in the web.xml file of the test case I change JBossAdmin by one the the group I am a member of, I cannot access the ressources (code 403). So my question is, where dose such a group come from ? anonymous wrote : | 2008-03-03 17:03:26,857 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] defaultLogin, principal=1204560206854 | 2008-03-03 17:03:26,857 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigurationEntry(SPNEGO), size=9 | 2008-03-03 17:03:26,857 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(SPNEGO), authInfo=AppConfigurationEntry[]: | [0] | LoginModule Class: org.jboss.security.auth.NegotiateLoginModule | ControlFlag: LoginModuleControlFlag : required | Options:name=defaultDomain, value=CIG.local | name=domainController, value=srv-cig.cigidf1.local | name=loadBalance, value=false | | 2008-03-03 17:03:26,858 TRACE [org.jboss.security.auth.NegotiateLoginModule] initialize, [EMAIL PROTECTED] | 2008-03-03 17:03:26,858 TRACE [org.jboss.security.auth.NegotiateLoginModule] Security domain: SPNEGO | 2008-03-03 17:03:26,868 TRACE [org.jboss.security.auth.NegotiateLoginModule] commit, loginOk=true | 2008-03-03 17:03:26,868 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] defaultLogin, [EMAIL PROTECTED], subject=Subject(25701656)[EMAIL PROTECTED](TOTO\loyat)org.jboss. | [EMAIL PROTECTED](Roles(members:JBossAdmin(members:TOTO\loyat))) | 2008-03-03 17:03:26,869 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] updateCache, inputSubject=Subject(25701656)[EMAIL PROTECTED](TOTO\loyat) | [EMAIL PROTECTED](Roles(members:JBossAdmin(members:TOTO\loyat))), cacheSubject=Subject(21533658)[EMAIL PROTECTED](TOTO\loyat) | [EMAIL PROTECTED](Roles(members:JBossAdmin(members:TOTO\loyat))) | 2008-03-03 17:03:26,869 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] Inserted cache info: [EMAIL PROTECTED](21533658).principals= | [EMAIL PROTECTED](TOTO\loyat)[EMAIL PROTECTED] | (Roles(members:JBossAdmin(members:TOTO\loyat))),[EMAIL PROTECTED], | expirationTime=1204561961713] | 2008-03-03 17:03:26,869 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] End isValid, true | 2008-03-03 17:03:26,870 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] User: 1204560206854 is authenticated | 2008-03-03 17:03:26,870 TRACE [org.jboss.security.SecurityAssociation] pushSubjectContext, subject=Objet : | Principal : TOTO\loyat | Principal : Roles(members:JBossAdmin(members:TOTO\loyat)) | , [EMAIL PROTECTED],subject=30255134} | 2008-03-03 17:03:26,871 TRACE [org.jboss.security.plugins.JaasSecurityManager.SPNEGO] getPrincipal, cache info: [EMAIL PROTECTED](21533658)[EMAIL PROTECTED] | (TOTO\loyat)[EMAIL PROTECTED](Roles(members:JBossAdmin(members:TOTO\loyat))),credential.class=java.lang.String@ | 12759798,expirationTime=1204561961713] | Thanks for your answers. Adrien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133853#4133853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools and Oracle XE
Hangs a little ...and then it works or ? If it just hangs a little and then works it is most likely because we by default scans the whole database metadata and on oracle that is slow. Set default_schema and default_catalog in your hibernate properties and it should reduce the time spent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133854#4133854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Shutdown behavior
I suppose if one of your MBean services holds the shutdown thread, while other threads of yours do the extra cleaning-up, maybe that would work. You'd also have to put your mbean stop code early in the shutdown sequence. Maybe if you use a BarrierController catching the server stop notification, and your mbean depending on it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133856#4133856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossAS Tools causes NPE in Eclipse's Java Tooling
Yes, or just change the project/classpath to a correct runtime. btw. it is a known issue - fixed in next version so it won't NPE but just say there is an issue/wrong runtime. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133857#4133857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools and Oracle XE
As far as I tried, it hangs indefinately. CPU and disk load drop to 0 for both Eclipse and Oracle. I waited several minutes but I got no response. I need to kill Eclipse and make sure no Java processes remain. If I then startup Eclipse again I can continue working but no classes have been created. I noticed that seam-gen works from the command line. For now that solves my problem, since I can generate the project, all entities, actions and pages and then open up the project in Eclipse (or NetBeans for that matter). I tried all of this with Java6, not Java5. Can that be the problem? I haven't tried using Java5 yet since I have a deadlne for a demo using JBoss Tools next Thursday so I am glad I found out that seam-gen works. As for your suggestion to set default_schema, I tried that but it makes no difference. I know it doesn't since I set it wrong at first. I used lower case instead of upper case, which Oracle requires. Seam-gen wouldn't generate anything at first since I made the same mistake. Only when I entered it in upper case seam-gen would generate everything as I expected. Thanks, Wouter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133859#4133859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: MyEclipse cannot install JBoss Tools
And why is adding the jboss as plugin an issue ? Does that not work ? Seam Tools would require WTP anyway so this first missing requirment it not really the issue... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133864#4133864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities with PostgreSQL
setting default_schema must work. Where are you setting it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133867#4133867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Deployment error with Jboss Tools 2.0.0, Seam 2.0 and Ri
sounds weird. only explanation i can come up for is that you had compiled classes with java 6 and that would give some weird classloader issue which then resolved in this totally unrelated exceptionjust speculating here though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133868#4133868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Web Project in JBossIDE
build.xml generation is one of the things we are missing ,( File Export EAR is the best alternative (besides creating manually a build.xml) For suggestions of manual build.xml search forum/jira. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133871#4133871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Runnigs test
I think the last question is more apropriate on the seam forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133873#4133873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
It's not an example, it is in the GPD source View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133875#4133875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Removing header links from portlet
wrong forum... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133878#4133878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ICEfaces with JBPM-3.1.4
shall or not, is up to you jbpm does not care. Since jBPM does not care, there is no documentation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133877#4133877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: parameters with state
then use an action and set values e.g. in xml. Look at delegationclasses in the docs... search the forum for 'set variable in process' or something. Lots of info View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133879#4133879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
We rolled back to the old libraries and config files and all is working fine. However, for those following this thread, would like to point out I'm not convinced this is a bug in JBM. We might have made a couple of mistakes during out deployment. Email thread posted for public interest: anonymous wrote : Just a bit of background. | | We've been running with EAP 4.2 and JBM 1.4.0.GA for a while. I'm quite aware this is not the environment supported by Red Hat, but this is what we have and we've been on a steady path to becoming 100% compliant: We were running JBoss 4.2.1 GA and ActiveMQ, replaced ActiveMQ with JBM and then took on Red Hat support. At this point we upgraded to JBoss EAP 4.2 (but kept JBM in place). I've been working on a branch running JBoss EAP 4.3 and the default configured JBM 1.4.0.SP3, however this is not yet deployed into production. We had a couple of issue with JBM 1.4.0.GA (or really JBoss Remoting I should say) which was sorted out by using a slightly modified version of the remoting-biscoket-service.xml that bundles with JBM 1.4.0.SP3. Please note we were still at this time using the JBM 1.4.0.GA libraries. However, as JBM 1.4.0.SP3 is the stable release, we heeded a suggestion by Red Hat and decided to upgrade. That's when the problem occurred. | | As already mentioned, I'm going to run a couple of experiments today to see whether I can narrow down the reason for the problem. I'm not yet convinced it is a bug in JBM. My reasons are: | | 1. We used the same JBM database schema from 1.4.0.GA. This did not give any problems when we tested in the dev environments. However, after more careful inspection of the SQL in oracle-persistence.sql I noticed a couple of changes were in place (e.g. new index, delete_message sql script switched order of parameters arround ... this could be problem is JBM is not using name parameters, but positional, supports_blob_on_select flag, composite primary key for JBM_MSG_REF changed declaration order for composite columns, etc). I don't know if this could be the cause of our problem and the old schema certainly worked fine for us in the development environment, but I'll try and use the new schema and see whether that makes a difference. | | 2. The following customisations were dropped from connection-factories-service.xml | Setting attribute PrefetchSize to 1000. | Setting attribute SlowConsumers to false. | | 3. Were PostOffice was marked as not clustered before, it was deployed as clustered this time round (default from bundled oracle-persistence-service.xml). Do not anticipate this to be a problem since we are running just a single node. | | 4. Using EAP 4.3 build for JBR 2.2.2.SP4 --- Implementation-Version: 4.3.0.GA (build: VNTag=JBPAPP_4_3_0_GA date=200801031548) instead of the BREW library. I reckoned the EAP 4.3 one would be most stable since tested by Red Hat. However, perhaps there are modifications specific to EAP 4.3. | | PS. Clients were using the following libraries: | JBM: Implementation-Version: 4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548). This taken from EAP 4.3\client | JBR: Implementation-Version: 4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548). This taken from EAP 4.3\client View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133885#4133885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: messages stuck in queues
Tim Fox's reply inline: anonymous wrote : | | | Just a bit of background. | | We've been running with EAP 4.2 and JBM 1.4.0.GA for a while. I'm quite | aware this is not the environment supported by Red Hat, but this is what | we have and we've been on a steady path to becoming 100% compliant: We | were running JBoss 4.2.1 GA and ActiveMQ, replaced ActiveMQ with JBM and | then took on Red Hat support. At this point we upgraded to JBoss EAP 4.2 | (but kept JBM in place). I've been working on a branch running JBoss EAP | 4.3 and the default configured JBM 1.4.0.SP3, however this is not yet | deployed into production. We had a couple of issue with JBM 1.4.0.GA (or | really JBoss Remoting I should say) which was sorted out by using a | slightly modified version of the remoting-biscoket-service.xml that | bundles with JBM 1.4.0.SP3. Please note we were still at this time using | the JBM 1.4.0.GA libraries. However, as JBM 1.4.0.SP3 is the stable | release, we heeded a suggestion by Red Hat and decided to upgrade. | That's when the problem occurred. | | As already mentioned, I'm going to run a couple of experiments today to | see whether I can narrow down the reason for the problem. I'm not yet | convinced it is a bug in JBM. My reasons are: | | I don't want to speculate too much at this point, but 1.4.0.SP3 is our | most highly tested JBM release - having gone through rigorous load and | soak test with our QA department before it was allowed to go in the EAP. | So a bug of this magnitude slipping through the net would surprise me, | although, of course we can't rule this out. | | | 1. We used the same JBM database schema from 1.4.0.GA. | This did not give | any problems when we tested in the dev environments. However, after more | careful inspection of the SQL in oracle-persistence.sql I noticed a | couple of changes were in place (e.g. new index, delete_message sql | script switched order of parameters arround ... this could be problem is | JBM is not using name parameters, but positional, | supports_blob_on_select flag, composite primary key for JBM_MSG_REF | changed declaration order for composite columns, etc). I don't know if | this could be the cause of our problem and the old schema certainly | worked fine for us in the development environment, but I'll try and use | the new schema and see whether that makes a difference. | | Yes the schema has changed between GA and SP3. It is critical that the | old database is dropped before installing the new version, otherwise all | kinds of strange problems might occur. | | | 2. The following customisations were dropped from | connection-factories-service.xml | Setting attribute PrefetchSize to 1000. | Setting attribute SlowConsumers to false. | | This may cause behavioural differences w.r.t message consumption. | | | 3. Were PostOffice was marked as not clustered before, it was deployed | as clustered this time round (default from bundled | oracle-persistence-service.xml). Do not anticipate this to be a problem | since we are running just a single node. | | Best to set clustered = false though if you are running a single node. | | | 4. Using EAP 4.3 build for JBR 2.2.2.SP4 --- Implementation-Version: | 4.3.0.GA (build: VNTag=JBPAPP_4_3_0_GA date=200801031548) instead of the | BREW library. I reckoned the EAP 4.3 one would be most stable since | tested by Red Hat. However, perhaps there are modifications specific to | EAP 4.3. | | Yes, that is a possibility. The EAP versions of a product and the | community version of the product can and do diverge sometimes, this is | mainly because we can provide bug fixes etc on the EAP version that's | not available on the free version until a later date. Not sure if this | applies to those versions of JBR but it's possibility. To be safe, it's | always wise not to mix and match version from the EAP and community | versions. | | If you want to run JBM 1.4.0.SP3 inside EAP 4.2, you should obtain the | JBM jar from the download on the labs site: | | http://labs.jboss.org/jbossmessaging/downloads/ | | And the JBoss Remoting version should be obtained from here: | | http://repository.jboss.com/jboss/remoting/2.2.2.SP4-brew/lib/ | | To summarise, in order to upgrade versions, you should follow the | following steps: | | 1) Drop the old database | 2) Obtains the distro and jars from above urls. | 3) Replace jboss-messaging.jar in the app server in the | server/messaging/lib directory with the one inside the distro. (assuming | you have named your server profile messaging) | 4) Replace jboss-remoting.jar in the app server in the | server/messaging/lib directory with the one download from the above url. | 5) Replace
[jboss-user] [JBossWS] - Problems with multipart/related responses
Hi everyone, we have created a JBossWS Client with version 2.0.1 consuming a Axis2 webservice, that is sending its responses in multipart/related format. Everything works fine when testing with SoapUi. but when calling a method with the JBoss client, we get this error message: Caused by: java.lang.IllegalArgumentException: multipart/related stream invalid, no root part was found | at org.jboss.ws.core.soap.attachment.MultipartRelatedDecoder.decodeMultipartRelatedMessage(MultipartRelatedDecoder.java:164) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:228) | at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:84) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175) I have already tried with the libraries from 2.0.3. But this causes the same problems. This is the response received from Axis2 Server: HTTP/1.1 200 OK | Date: Tue, 04 Mar 2008 09:41:08 GMT | Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_98BB2CA94931E2B9C21204623668217; type=application/xop+xml; start=0.urn:uuid:[EMAIL PROTECTED]; start-info=text/xml | Server: Apache-Coyote/1.1 | Transfer-Encoding: chunked | | --MIMEBoundaryurn_uuid_98BB2CA94931E2B9C21204623668217 | Content-Type: application/xop+xml; charset=UTF-8; type=text/xml | Content-Transfer-Encoding: binary | Content-ID: 0.urn:uuid:[EMAIL PROTECTED] | | ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:Bodyns:loadEloFileUrlResponse xmlns:ns=http://eloservice.giag.com;ns:returnhttp://some_url_notshown/ns:return/ns:loadEloFileUrlResponse/soapenv:Body/soapenv:Envelope | --MIMEBoundaryurn_uuid_98BB2CA94931E2B9C21204623668217-- Did somebody have similar problems? If this is a known issue please let me know. Thanks for your help! Regards, Norbert View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133887#4133887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment
Hi, Can somebody give me a hand? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133888#4133888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Queer error: java.lang.LinkageError: loader constraints
Looks like a classloader issue. I guess you have more than one jar, in the classpath, containing the EJBHelper because of which you are running into this issue. See the following wiki for more detailed explanation about how classloading works on JBoss: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133890#4133890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How To create fields in a CMS
I was researching the topic of adding content in JBOSS portal. I found that from the option CMS - Create file, I can add content which has textfields to enter description, title and the file name, plus a textarea, which can use a WYSIWIG editor to fill the body of the content. While this is useful, I need to create a file like that but with some custom fields, something like creating a template structure with liferay or define one type of content with drupal. What I need is to know how to create a file which contains fields to fill that are defined by me. For example, I need that in addition to the title and description, the content that is being created has a field where they can enter a date, you have a checkbox and add another textarea to enter comments (in addition to define whether they are required or optional) . Is there any way to accomplish this? Sorry for my English and already many thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133892#4133892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering
Hi, - Queue and Topic examples ran well - Getting exceptions while trying to run the other(Queue Failover, mdb etc.) examples. - When I shut down the Node1 server - Queue and Topic examples ran well - Getting exceptions while trying to run the other(Queue Failover, mdb etc.) examples. I get following error when i execution the distributed-queue compile: run: [java] Distributed queue /queue/testDistributedQueue exists [java] java.lang.RuntimeException: Assertion failed, 2 == 2 [java] at org.jboss.example.jms.common.ExampleSupport.assertNotEquals(ExampleSupport.java:85) [java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.example(DistributedQueueExample.java:83) [java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:147) [java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.main(DistributedQueueExample.java:167) [java] [java] # [java] ###FAILURE! ### [java] # BUILD FAILED /opt/jboss-messaging-1.4.0.SP3/examples/distributed-queue/build.xml:85: Java returned: 1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133893#4133893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - @Length not working on embedded component
When I use @Length annotation on the fields of my entity, the column in the table is created with the expected length (see email field in the example below) But in embedded components, it seems that the @Length annotation is ignored (when creating the table) and the column in the table is always 255 characters long. If I also add the @Column(lenght=xx) annotation on the embedded string, it works as expected. * why is this different behavior? | * what can I do about it? | * or should I always use both annotations: @Length and @Column(lenght=xx)? | | | | @Entity | | | @Table(appliesTo = WEBUSER, indexes = { @Index(name = IDX_WEBUSER_NAME_FIRSTNAME, columnNames = { NAME, FIRSTNAME }) }) | | | @NamedQuery(name = WebUser.getByEmail, query = select u from WebUser u where u.email = :email) | | | public class WebUser implements Serializable { | | | private Long id; | | | private String email; | | | private Address address = new Address(); | | | ... | | | @Id @GeneratedValue | | | public Long getId() { | | | return id; | | | } | | | | | | @Length(max=100) | | | @NotEmpty | | | @Email | | | public String getEmail() { | | | return email; | | | } | | | | | | @Valid | | | @Embedded | | | public Address getAddress() { | | | return address; | | | } | | | ... | | | | | | } | | | | @Embeddable | | | public class Address implements Serializable { | | | private String city; | | | | | | @Length(max=30) | | | @NotEmpty | | | public String getCity() { | | | return city; | | | } | | | ... | | | | | | | length of email field in the table: 100 (as expected) | | length of city field in table: 255 (30 expected) | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133895#4133895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )
Hi Peter, Yes , i did read the above article but unfortunately that didnlt solve my problem .. let me explain my problem again .. I am deploying j2EE archives into the JBOSS server using IntelliJ IDEA 7.0 , where it has inbuilt support for JBOSS integration.. when i deploy the archives , those are not goes to the default/deploy directory , instead it goes to the default/tmp/deploy directory ... I want to deploy those into the default/deploy directly.. I can do it manually , by just copying the files to the server directly.But i think there should be a way to do it directly from the IDE .. I tried those deployments using NetBeans 6.0 , there i didnt have to face any problems , then relevant archives deployed into the default/deploy directory so what is the reason behind this could be ?? is that a bug with IntelliJ IDEA or do i have to configure the JBOSS server ??? plese help me .. im so desperate ... :( Thanks n Regds Sajith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133897#4133897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Is v1.4.1 completely compatible with v1.4.0
I read some articles about FD ,but I can't find a configration that ompletely avoid this problem. I tried to cope with this question by modify the emberlist or reconnecting the channel. But soon find them doesn't work . Finally I recreate the channel and solved the problem to solve this problem. If somebody have good ideas about FD configration , just reply to this post , I'll be very appreciate . Our next version of product may take this solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133898#4133898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Hi guys, The trick with oracle is to remember to set hibernate.default_schema and maybe hibernate.default_catalog to limit which schemas we will read to the one you are interested in. We should have a better ui for selecting tables...right now we only have that if you use the Hibenrate tools code generation ui directly and create a reveng.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133903#4133903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Need some architectural suggestion about JBoss cache
Hi, Need some guidance about possibly a common architectural problem. We are planning to have a clustered JBoss Application Server environment with JBoss cache. The data in the cache will be highly repeatable e.g. search result for Hotels in London. Now we don't want to replicate the data across servers but for users in either application server environment would like to get the most recent data. What would be the most appropriate architectural solution? Sorry for possibly a dummy question. Thanks a lot, Mridul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133900#4133900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Cannot access nightly build page
http://download.jboss.org/jbosstools/builds/nightly/latestBuild.html works for me...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133906#4133906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Have a different login page for each portal
Hi, I don't know any tag to do that, but what I did in our project was to make different css stylesheet files for each portal customizing it. You can create css files naming with the ID of the respective portal, and get each css file according with the current portal. Example: login_default.css, login_portalA.css, login_portalB.css, login_portalC.css. To get the current portal id use: //portal node PortalNode portal = (PortalNode) request.getAttribute(org.jboss.portal.api.PORTAL_NODE); while (portal.getType() != PortalNode.TYPE_PORTAL) { portal = portal.getParent(); } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133908#4133908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Using custom principal class with JBossWS
I would like to use my own Principal class with my own LoginModule. I configured the LoginModule in login-config.xml and annotated by SLSB as follows : | @Stateless(name=JobAPIWeb) | @WebService(name=JobAPIWeb, portName=...Port, serviceName=JobAPIWebService, targetNamespace=...) | @EndpointConfig(configName = Standard WSSecurity Endpoint) | @SecurityDomain(value=THZone) | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE) | public class JobAPIWeb implements JobAPIWebRemote { | ... | Authentication takes place, however when I try to access the principal via | m_sessionContext.getCallerPrincipal().getClass().getName() | it presents me with a org.jboss.ws.extensions.security.SimplePrincipal, rather then my own class returned in the LoginModules commit method. My search so far led me to ReceiveUsernameOperation in which the UserNameToken is converted to a SimplePrincipal. http://fisheye.jboss.com/browse/JBossWS/trunk/jbossws-core/src/main/java/org/jboss/ws/extensions/security/ReceiveUsernameOperation.java?r=4023 Are there any configuration options which would allow me to access the principal object as it is returned by my LoginModule. Thanks in advance. Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133910#4133910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: IDE for JBoss Portlet development (2.6.4)
First of...Portal is one of the missing features we have. Contributions welcome. [EMAIL PROTECTED] wrote : | 1. Eclipse Portal Pack - comes with Glassfish app server. Can I change it to JBoss? And Can I configure to start/stop JBoss Portal Server from it? | I actually haven't heard about Eclipse Portal Pack before now. From the description on their webpage they should be generic enough to be usefull with JBossLet us know! anonymous wrote : | 2. JBoss Dev Studio - (I'm even ready to buy if it's less than $200.00) But can I do portlet development and start/stop JBoss Portal Server from it and deploy portlets to the JBoss portal Server (from IDE, just like RAD)? | start/stop/deploy to the server generically yes. Specific portal features no. not at this point. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133909#4133909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools and Oracle XE
Java6 causes all sorts of issues. if it works with seam-gen it *must* also work here...its the same freaking code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133917#4133917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Session data losing ...
Hi I have a really frustrating problem with Jboss 4.0.5GA/Tomcat 5.5 and Apache 2.2.6 in front of it with mod_jk 1.2.25. I have problem with losing session data. For example : In one window browser i have open https://www.ip-adress.com:8443/Application1. This is application with possibility of loggin in. I log in to App1 and open another app https://www.ip-adress.com:8443Application2 (same jboss/tomcat). In this moment sessions data from App1 is losing and i have to log in one more time ( logging off is just a result of issue )... Another login to app1 than refreshing window with App2 and i'm lossing session data from app1 again ... Everything is working fine when i'm using HTTP 1.1 jboss port - 8080, problem occurs only when https jboss port is used. Any ideas would be appreciate :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133916#4133916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Is there a user guide?
OChikvina wrote : Sorry, It'll be better to use nightly doc builds http://download.jboss.org/jbosstools/nightly-docs/ to get the latest information Thank you, I think http://www.redhat.com/developer_studio/guides/as/html_single/ you mentioned previously is better, as I am working with Eclipse + JBoss Tools. It is very helpful. Thanks again, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133918#4133918 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools and Oracle XE
OK I will try with Java5 during the weekend. And I will check and double check the settings used by Eclipse against the settings used by the command line seam-gen. Thanks for the pointers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133927#4133927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: jsf pluggable pages?
http://forum.java.sun.com/thread.jspa?messageID=10134324 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133934#4133934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - a4j bridge
I am trying to use the new bridge with ajax/rich jsf (no faclets but jsp). I get this exception: java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest What is the required configuration for the new bridge? examples are for faclets and the demo application is for seam+rich. I played with the configuration and got my page, but when I tried to submit it I got exception that handler could not retrieve view for my jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133941#4133941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Missing windowId for portlets events test
Hi! I'm trying to develop some portlets to test events on portletcontainer 2.0, when I try to perform an action on my sender portlet I get exception below: java.lang.NullPointerException at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:219) at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:61) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133954#4133954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Accessing Nested Pages More Than One Level Down
Hover your mouse over the Page1 tab and a drop-down menu with a link to Page3 should appear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133959#4133959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem JBPM
Hello, I am working with JBPM, and meet the problem that there is to make a submit or recharge(overload) the page, the information that contain tildes or ñ's they turn into other characters. My application is formed in UTF-8, and the servant that I use is Jboss. Might someone me say solve like this? Thank you in advance and a greeting. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133960#4133960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Getting source code for jboss plugin in eclipse
You may need to select the folder of the root of the source. For example, if the file is in package com.oxbeef.servlets, do not browse to com/oxbeef/servlets/SomeServlet.java. Instead browse to the folder directly above com, the overall source folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133961#4133961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: logging jboss web console problem
Hi, Did you manage to solve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133968#4133968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment
Hi Brian, We have both EJB2 and EJB3. Thanks, Marcelo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133966#4133966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
You can change the super class just after you create a new CtClass object. Some factory methods like ClassPool#makeClass() takes a super class as a parameter. Don't these ways satisfy your needs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133967#4133967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMS auto deploy archive
Using JBoss Portal 2.6.4, is it possible to include a .zip or some other kind of archive in my EAR file and have it automatically (at deploy time) upload that archive to CMS? Since I can define everything else (portal, pages, windows, portlets) and some of my windows refer to CMS entries, it would be quite convenient for me not to have to log in as admin, go to the CMS admin portlet, and upload the archive referenced by my windows. Thanks, Ryan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133974#4133974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - [4.2.2] JBossProperties ignored on bootstrap
Hi, I'm setting the jboss.bind.address in the bootstrap enviroment. The setting is ignored by the server -- it binds to 127.0.0.1. === JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-4.2.2.GA JAVA: c:\Programme\Java\jdk1.6.0_04\bin\java JAVA_OPTS: -Djboss.bind.address=192.168.0.59 -Djava.library.path=C:\jboss-4.2.2.GA\bin\native;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: c:\Programme\Java\jdk1.6.0_04\lib\tools.jar;C:\jboss-4.2.2.GA\bin\run.jar === Any suggestions? Thanks Reinhard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133965#4133965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Thanks, Sir, I am getting closer. Now Jboss can find my class file and run my class file. It is also indicates it has been able to make MS SQL server connection. The only problem is ii can not find my jsp file and a property file. I check the war file and found the pass of jsp file and property file are incorrect. The jsp file path is project/jsp/**.jsp and the path of propety file should be project/WEB-INF/**.properties But in the war file, they are project/**.jsp project/**.properties I just can not make the path right. Here is my code of war in build.xml. Could you please indicate what wrong cause this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133972#4133972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Hide portlet
How do I hide/show protlet based roles. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133970#4133970 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )
Sorry, I don't use IDEA (or NetBeans), perhaps someone else out there does and can give you a suggestion. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133962#4133962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment
Are your beans EJB2 or EJB3? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133964#4133964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Hide portlet
Set the security for the portlet instance. If the role has access to the portlet instance, the portlet will show; if not then it will not show. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133976#4133976 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Sorry, here is my code for war | target name=war depends =compile description=Generate the runtime war | war warfile=${dist.dir}/${app.name}.war webxml=${basedir}/WEB-INF/web.xml | fileset dir=${basedir}/WEB-INF/classes/ | fileset dir=${basedir}/jsp/ | lib dir=${lib.dir}/ | | /war | /target | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133977#4133977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
This is exactly what I do: --- klass = classPool.makeClass(java.lang.Object, null); --- When this is called the class is created but when I see bytecode System.out.println(klass.getSuperclass()) - java.lang.Object public class java.lang.Object extends java.lang.Object { } -- or when try to run proguard that is using this classe It goes into stackOverflowError parsing it. -- There should be a special case to handle the java.lang.Object class! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133978#4133978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Worker thread initialization failure java.io.EOFException
Hi I installed one Jboss server : jboss-4.2.2.GA and jdk1.5.0_14 on Linux server Redhat 4.0 Update 4 When i use jboss , I am getting the following marshalling exceptions .. ERROR [org.jboss.remoting.transport.socket.ServerThread] Worker thread initialization failure java.io.EOFException at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) please help me.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133979#4133979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging msg blocked
I am using JBoss AS 5.0 Beta 3 and JBM 1.4.0 SP1. I am getting a similar issue. I am trying to use the topic example to send and receive a message, but it seems that the send() blocks and will not return. I was using JBM 1.4.0 SP3, but ran into another incompatibility issue with JBoss 5.0. I appreciate whatever help that I can get. Here is my stack trace: [java] TopicExample: Topic /topic/testTopic exists [java] TopicExample: Created JMS Connection -- JBossConnection-ConnectionDelegate[30866355, ID=y1-zjupoedf-1-r2egnedf-36txtx-j132o4c5, SID=0] [java] TopicExample: Topic created -- JBossTopic[testTopic] [java] TopicExample: Starting message listening. [java] TopicExample: Making connection ... [java] TopicExample: Creating JMS message ... [java] TopicExample: Trying to send the JMS message ... [java] Full thread dump Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode): [java] Timer-2 daemon prio=1 tid=0xaa1e1890 nid=0x1ea8 in Object.wait() [0xa90fc000..0xa90fd130] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaadbdb58 (a java.util.TaskQueue) [java] at java.util.TimerThread.mainLoop(Timer.java:509) [java] - locked 0xaadbdb58 (a java.util.TaskQueue) [java] at java.util.TimerThread.run(Timer.java:462) [java] control: Socket[addr=/127.0.0.1,port=3962,localport=50744] daemon prio=1 tid=0xaa1f7580 nid=0x1ea7 runnable [0xa917d000..0xa917e0b0] [java] at java.net.SocketInputStream.socketRead0(Native Method) [java] at java.net.SocketInputStream.read(SocketInputStream.java:129) [java] at java.net.SocketInputStream.read(SocketInputStream.java:182) [java] at java.io.FilterInputStream.read(FilterInputStream.java:66) [java] at org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlConnectionThread.run(BisocketServerInvoker.java:741) [java] Timer-1 daemon prio=1 tid=0xa9204a28 nid=0x1ea6 in Object.wait() [0xa91fe000..0xa91fee30] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaada6ca8 (a java.util.TaskQueue) [java] at java.util.TimerThread.mainLoop(Timer.java:509) [java] - locked 0xaada6ca8 (a java.util.TaskQueue) [java] at java.util.TimerThread.run(Timer.java:462) [java] Timer-0 daemon prio=1 tid=0xa9204680 nid=0x1ea5 in Object.wait() [0xa93e1000..0xa93e1db0] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaad95858 (a java.util.TaskQueue) [java] at java.util.TimerThread.mainLoop(Timer.java:509) [java] - locked 0xaad95858 (a java.util.TaskQueue) [java] at java.util.TimerThread.run(Timer.java:462) [java] GC Daemon daemon prio=1 tid=0xaa1a76b0 nid=0x1ea2 in Object.wait() [0xa94e3000..0xa94e3eb0] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaace65c8 (a sun.misc.GC$LatencyLock) [java] at sun.misc.GC$Daemon.run(GC.java:100) [java] - locked 0xaace65c8 (a sun.misc.GC$LatencyLock) [java] RMI RenewClean-[127.0.0.1:1098] daemon prio=1 tid=0xaa198aa0 nid=0x1ea1 in Object.wait() [0xa9564000..0xa9565030] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaace6318 (a java.lang.ref.ReferenceQueue$Lock) [java] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) [java] - locked 0xaace6318 (a java.lang.ref.ReferenceQueue$Lock) [java] at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:501) [java] at java.lang.Thread.run(Thread.java:595) [java] Low Memory Detector daemon prio=1 tid=0xaa1008d8 nid=0x1e9e runnable [0x..0x] [java] CompilerThread0 daemon prio=1 tid=0x09acaa68 nid=0x1e9d waiting on condition [0x..0xaa33aa98] [java] Signal Dispatcher daemon prio=1 tid=0x09ac9af0 nid=0x1e9c runnable [0x..0x] [java] Finalizer daemon prio=1 tid=0x09abfea8 nid=0x1e9b in Object.wait() [0xaa63c000..0xaa63cdb0] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaacb3fc0 (a java.lang.ref.ReferenceQueue$Lock) [java] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) [java] - locked 0xaacb3fc0 (a java.lang.ref.ReferenceQueue$Lock) [java] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) [java] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) [java] Reference Handler daemon prio=1 tid=0x09abe098 nid=0x1e9a in Object.wait() [0xaa6bd000..0xaa6bdf30] [java] at java.lang.Object.wait(Native Method) [java] - waiting on 0xaacb4040 (a java.lang.ref.Reference$Lock) [java] at java.lang.Object.wait(Object.java:474) [java] at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) [java] - locked 0xaacb4040
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
Ah.. it is not allowed in J2SE to create another version of java.lang.Object. For your purpose, what about: CtClass klass = classPool.get(java.lang.Object); You can modify klass as you want. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133988#4133988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Hide portlet
I tried but instead of hiding the portlet , I am getting following error page HTTP Status 403 - type Status report message description Access to the specified resource () has been forbidden. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133984#4133984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
I know that in J2SE it should not work! BUT We are creating J2ME CLDC API classes! The java/lang/Object.class should be created and written to the disk then it would be used to build MIDlet applications. Created Object class is not used at runtime! The class is only used during J2ME build and it should have signature different from one in J2SE! We have a process to create API stub classes. (No implementation classes only proper signature) The classes signature is defined in XML and then exported to .classes using javassist. Really need your help to solve this last outstanding problem! Vlad PS http://www.microemu.org/ MicroEmulator is a pure Java implementation of Java ME in Java SE. The CLDC API classes is a subset of J2SE. The open source project ProGuard has been updated to allow preverification of J2ME applications. We are only one step from creating complete Open Source J2ME build process. The only missing point is LGPL or Apache CLDC API classes. The phoneME classes can't be used because they are GPL. So we are creating the process to solve licenses problem. classes signature is not part of license so we need to create proper CLDC classes from signature. PPS it is not allowed in J2SE Fine but this javassist code is working fine: --- klass = classPool.makeClass(java.lang.Object, null); klass.writeFile(java/lang/Object.class); --- But the file created is not right! It creates class Object extends Object View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133994#4133994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
So what about reusing an existing CtClass that represents java.lang.Object? By default, any ClassPool contains java.lang.Object. My idea is to get that CtClass object from the pool and modify it to be what you need. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133997#4133997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Help!!!! JBOSS-4.2.2.GA SSL configuration problem
Same error here, except it's only exhibited on Windows Server 2003. Windows XP seems to work ok. Exactly the same config on both machines. Is this a confirmed bug? There seems to be a JIRA posted but no activity. Is there a workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133999#4133999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Missing windowId for portlets events test
it looks like a bug. can you describe the interactions you do ? the controller package has been improved since the beta1 and is more robust, you could try SVN or wait for the next release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133993#4133993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Hide portlet
I defined security roles in portlet.xml and *-object.xml. which file I need to modify for portlet instance. THanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133991#4133991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Missing windowId for portlets events test
I wrote two pages publisher-view.jsp and listener-view.jsp, in publisher-view.jsp I used portlet tags to generate the actionURL, exactly like we have below: | %@ page contentType=text/html% | %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % | portlet:defineObjects / | portlet:actionURL var=submitUrl portletMode=view / | div | br / | br / | center | form action=%=submitUrl% method=post | label for=inputType your text:/label | input type=text id=input name=input value= / | input type=submit value=Send / | /form | /center | /div | When the submit button is clicked the processAction on PublisherPortlet must be invoked and then the event is set: | package br.eti.faces.portlet.publisher; | | import java.io.IOException; | | import javax.portlet.ActionRequest; | import javax.portlet.ActionResponse; | import javax.portlet.GenericPortlet; | import javax.portlet.PortletContext; | import javax.portlet.PortletException; | import javax.portlet.PortletRequestDispatcher; | import javax.portlet.RenderRequest; | import javax.portlet.RenderResponse; | | import br.eti.faces.portlet.events.Literal; | | public class PublisherPortlet extends GenericPortlet { | | @Override | protected void doView(RenderRequest renderRequest, | RenderResponse renderResponse) throws PortletException, IOException { | | renderResponse.setContentType(text/html); | | PortletContext ctx = getPortletContext(); | PortletRequestDispatcher dispatcher = ctx | .getRequestDispatcher(/publisher-view.jsp); | | dispatcher.include(renderRequest, renderResponse); | } | | @Override | public void processAction(ActionRequest actionRequest, | ActionResponse actionResponse) throws PortletException, IOException { | String value = actionRequest.getParameter(input); | actionResponse.setEvent(Literal.QNAME, new Literal(value)); | } | | } | I defined this class as my event class: | package br.eti.faces.portlet.events; | | import java.io.Serializable; | | import javax.xml.bind.annotation.XmlRootElement; | import javax.xml.namespace.QName; | | @XmlRootElement | public class Literal implements Serializable { | | public static final QName QNAME = new QName(urn:jboss:portal:samples:event , Literal); | | private String data; | | public Literal(String data) { | this.data = data; | } | | public String getData() { | return data; | } | | public void setData(String data) { | this.data = data; | } | } | Finally, I registered both (porlet and event) on portlet.xml: | ?xml version=1.0 encoding=UTF-8? | portlet-app | xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd; | id=portlet-event version=2.0 | | event-definition | qname xmlns:jbp=urn:jboss:portal:samples:eventjbp:Literal/qname | value-typebr.eti.faces.portlet.events.Literal/value-type | /event-definition | | portlet id=publisher | init-param | namedefault-view/name | value/publisher-view.jsp/value | /init-param | init-param | nameViewPage/name | value/publisher-view.jsp/value | /init-param | descriptionEvent Publisher JSP Portlet/description | portlet-namepublisher/portlet-name | display-nameEvent Publisher JSP Portlet/display-name | portlet-class | br.eti.faces.portlet.publisher.PublisherPortlet | /portlet-class | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | portlet-info | titleEvent Publisher JSP Portlet/title | short-titleEvent Publisher JSP Portlet/short-title | /portlet-info | | supported-publishing-event | qname xmlns:jbp=urn:jboss:portal:samples:eventjbp:Literal/qname | /supported-publishing-event | /portlet | | portlet id=listener | init-param | namedefault-view/name | value/listener-view.jsp/value | /init-param |
[jboss-user] [Performance Tuning] - Re: Switching Java-serialization to JBoss-serialization for
JBoss-Serialization is used by default ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134006#4134006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - Hypersonic - database is already in use
Hello all, We are experiencing a problem that we did not expect with migrating our application over to JBoss 4.2.0 CP1. We are able to run it locally within our development desktops, but cannot get it to start properly on the Linux (Redhat) machines. Below is a long snip of the problem (this one comes from just trying to launch the 'all' configuration). Anyone have any ideas as to what could be causing this? Thanks in advance for your valuable time and support. 10:49:06,403 WARN [ServiceController] Problem starting service jboss:service=Hypersonic,database=localDB java.sql.SQLException: The database is already in use by another process: [EMAIL PROTECTED] =/apps/xmladm/jboss-as-4.2.0/server/all/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Unknown Source) at org.hsqldb.jdbcDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:171) at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:768) at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:618) at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:564) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(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.GeneratedMethodAccessor9.invoke(Unknown Source) 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 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 $Proxy51.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at
[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!
Thank, Mr. Peter Johnson, I have solved all problems. My application is working. thanks for your help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134009#4134009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Tag completion
If the XML schemas for code completion are generated, perhaps a tool for generating schemas for custom taglibs from TLDs would be useful somewhere in JBoss Tools? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134010#4134010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: TimerService in Transaction?
Also, I notice that my server.log is filled up with logging messages from com.arjuna.ats.arjuna etc. (level DEBUG) Could it be that crash recovery of a timer keeps my server busy? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134012#4134012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CMP transactions in hibernate and using WorkManager
First, the environment: One EJB and one database table (SearchSession) managed by Hibernate. JBoss 4.2.2 GA and MySQL 5.x on Windows XP Pro Using CMP, the ejb saves a session in the table and saves the PK id. Then 3 tasks need to be completed asynchronously so we use the javax.resource.spi.work.WorkManager and Work classes. The problem: The spawned Work objects need to 'see' the PK id created by hibernate. But when calling .get with that PK, there are no records. So these 3 Work(ers) return with 0 results. The initial EJB call finishes and THEN the session record is commited! The question: How can the WorkManager and Work objects participate in the current transaction? If they did, they would 'see' that PK. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134013#4134013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
Thanks! This approach works fine! Regards, Vlad PS I see you not uploading latest versions to maven repozitory. Do you want to delegate this task to me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134014#4134014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [4.2.2] JBossProperties ignored on bootstrap
Use the -b flag instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134015#4134015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Define CacheLoader for different Regions
No, you're only allowed one cache loader per cache instance. You can of course create multiple cache instances in your application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134016#4134016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging clustering
Sounds like your installation failed. Did you follow the installation instructions in the user guide exactly? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134023#4134023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging msg blocked
There was another thread on this forum recently which explained what libraries you need to use for JBoss 5, please have a search. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134021#4134021 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - deploying problem
HI all , iam new to j2EE development// ... I am deploying j2EE archives into the JBOSS server using IntelliJ IDEA 7.0 , where it has inbuilt support for JBOSS integration.. when i deploy the archives , those are not goes to the default/deploy directory , instead it goes to the default/tmp/deploy directory ... I want to deploy those into the default/deploy directly.. I can do it manually , by just copying the files to the server directly.But i think there should be a way to do it directly from the IDE .. I tried those deployments using NetBeans 6.0 , there i didnt have to face any problems , then relevant archives deployed into the default/deploy directory so what is the reason behind this could be ?? is that a bug with IntelliJ IDEA or do i have to configure the JBOSS server ??? plese help me .. im so desperate ... :( Thanks n Regds Sajith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134025#4134025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Building PC 2.0 from svn trunk sources
Hi! Is there any guide that contains the steps to integrate Portlet Container 2.0 into Tomcat 6.0? I tried to replace the beta 1 jars with jars built from maven build but no success. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134027#4134027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: receiveNoWait returns always null
There have been several other threads about receiveNoWait semantics on this forum. Please have a search. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134024#4134024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Hide portlet
Regarding the 403 error, it looks like you changed one of the portal properties. Under Page Error Handling, the When access to the window is denied case needs to have the action Remove the resource from the page; you have the action set to Display the default error message. You can specify security constraints for instances in the portlet-instances.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134018#4134018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user