[jboss-user] [JBoss Cache: Core Edition] - Re: JBossCache newbie - in 4.2.1GA
Hi, I am facing the same problem. Did you get any solution to your problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139153#4139153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - java.lang.OutOfMemoryError: Java heap space in JBoss Product
Hi All, I have recently migrated my application in to JBoss Server and struggling a bit with performance tuning. I am getting java.lang.OutOfMemoryError: Java heap space exception in every three- four days. This is crashing the JBoss Server and i have to restart my server when this occurs. My heap setting in run.conf are | if [ "x$JAVA_OPTS" = "x" ]; then |JAVA_OPTS="-Xms1024m -Xmx2048m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360" | fi Can anybody suggest me a proper heap size? Do i have to set any other param along with this?? Also can u suggest a good profiler for jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139151#4139151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Using CLOB in Serlvet
Hi Vickyk, Thanks for the reply. Even we are not sure why we getting the Proxy connection object in servlet. When we tried the same approach (i,e using DataSource) in EJB we getting the UnderlyingConnection. Can you let us know what exactly you tried to setup the JSP using DataSource. What we did: 1) Created Datasource in -ds.xml file 2) Used the defined Datasource in our Servlet Thanks in advance Pras P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139150#4139150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: SAP EP versus JBoss
The cookie handling should be fixed in subversion. I need to test it more and it'd actually be helpful if you could try the latest version of Portal 2.6 and let me know if it fixes your issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139147#4139147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Stopping the Tomcat's Jboss
Hi everyone, I'm developing applications deployed in J boss (4.0.4 version) with Ejb deployed in a Tomcat Server, server which is different from the Tomcat Server present in Jboss. I would know, if it's possible, how to shutdown the Tomcat server from Jbosss, and how to configure Jboss to not launch it when you launch Jboss. I've read the configuration doc of Jboss 4.0.4 or others and did not find any commands/configuration variables to do this stuff. If you have any ideas, I would be glad to read them :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139145#4139145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access portlet preferences when not logged in
Both ways, look at the "Instances" tab of the admin portlet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139137#4139137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying Hudson on JBoss5 beta4
Wow, thanks! I truly appreciate the help. My next plan for trying to solve this involved building hudson from source. I may yet do that, but at least I'd now know what the culprit is, and the focus would be on fixing rather than diagnosing. You've saved me time from my terribly limited pool. Thanks heaps! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139136#4139136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Problem with annotation in test case AnnotatedSecureRunA
I have not tried this before, can you please describe a bit more what you want to do? Javadoc should not really care about @@org.jboss.aspects.security.SecurityDomain ("other") being an annotation? However, since AS 4.2.x is JDK 5 only, the tests should be merged as is the case for AS 5. I will let Shelly McGowan know View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139131#4139131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
Max: I'm not sure what you mean. I am given a module to publish and I decide where to put it and what to call it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139130#4139130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
rob - how does .rar suffixing works with WTP ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139128#4139128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
new commit for ya ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139123#4139123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Problem with annotation in test case AnnotatedSecureRunAsPOJ
Dear All I'm trying to run a javadoc doclet against the AS 4.2.2 testsuite. My doclet is running into a problem with one test case which is spitting out errors during javadoc processing: /tmp/jboss-4.2.2.GA-src/testsuite/src/main/org/jboss/test/aop/bean/AnnotatedSecureRunAsPOJO.java:34: incompatible types [javadoc] found : org.jboss.aspects.security.SecurityDomain [javadoc] required: java.lang.annotation.Annotation [javadoc] @SecurityDomain("other") This occurs for three annotations: RunAS, Unchecked, and SecurityDomain. If I comment out the annotations, my doclet works fine. I am running the testsuite against Java 1.5. I tried to correct what I thought might be the error by replacing interface with @interface in the definition of the annotation, but the got a source 1.4 error when trying to rebuild. Can someone please advise? Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139122#4139122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: disabling the tomcat status
Edit the server/xxx/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml file, removing the Status Servlet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139120#4139120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
Well, when you explain it *that* way... :-) Not knowing how the parsers work internally, I didn't know if it did some fancy streaming-dynamic-recombobulation or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139118#4139118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
"[EMAIL PROTECTED]" wrote : Does it have to be in a separate "deployment" element? Sure. Use logic. :-) We first need to parse the file, and only after that we register the schema that recognizes jbossxb-parser element, which is what we want to parse. Chicken and the egg. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139117#4139117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
There are two issues here, both of which may be too specific to more complicated EAR deployments to be worth fixing in the projects that jboss tools generates in its wizard. (1) I'm using junit rather than testng, because the latter's output leaves much to be desired, and we have testing tools that work with junit's xml output. Junit respects the "Exported" checkbox set in the the "Order and Export" section of the Java Build Path. Testng must not. Because if I don't check to export the EAR directories to dependent projects in the build path for the WAR, then the tests running from the test project don't find the ear directories. The jboss tools don't check this box by default. (2) I have an EJB that depends on Utility jars in the Ear. The EJB lists those in its Manifest.MF. The WAR _doesn't_ list those in its Manifest.MF, because it doesn't need them, and it is sometimes packaged in a different EAR without those libs present. Now, in order to have the test project find the libs on the classpath in order to test the EJB module, I have to include those utility libs in the MANIFEST.MF of the WAR, so that they get picked up by the test project. Does that make sense? So I guess what I'd like to see: The test project is testing dependent EJB modules and the WAR module. The latter both pick up Utility Jar dependencies through Manifest.MF and EarContent, via that whizzy "EAR Libraries" thing. It would be nice if the test project did that as well. I'm new to the WST tools; for the past couple years they were too broken to really use, in my opinion. So perhaps the above comments reflect my own ignorance of how to best use these tools to manage dependencies between projects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139109#4139109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
I did the element after the in the same and I'm getting a validation error. Does it have to be in a separate ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139110#4139110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - login access at JBoss
Hello, I want to configure JBoss so that an user must be login to get access at the JBoss server. It gives one account, it can be use basic login. Can anyone help me, to fix this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139107#4139107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 web session problem
If you want a particular URL pattern to pass through to JBoss you have to include it in uriworkermap.properties: | # Simple worker configuration file | | # Mount the jmx-console, web-console and Counter servlet contexts to the ajp13 worker | /jmx-console=loadbalancer | /jmx-console/*=loadbalancer | /web-console=loadbalancer | /web-console/*=loadbalancer | /Counter=loadbalancer | /Counter/*=loadbalancer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139106#4139106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock, then JBossRollbackE
It turns out this was a Transaction timeout issue. The exception is thrown around 15 minutes after the process started which happens to be the TransactionTimeout setting. It's odd though that sometimes I get the above error and other times the more explicit timeout error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139104#4139104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - HTTP Status 403 - Access to the requested resource has been
I have recently purchased the book by Matt Cumberlidge titled "Business Process Management with JBoss jBPM". The book has a good demo that you build while learning about jBPM called "Bland Records". The book directs you to download jpdl3.2.GA, jdk 1.5_09 and eclipse 3.2. I downloaded jpdl3.2.2 suite, which includes a JBoss 4.0.4 app server. I also have JDK 1.5 and eclipse 3.3. All of the steps of building the app as described in the book work fine. I generate the forms from the task nodes in the process definition. I see the xhtml files generated and have inspected and compared to that in the book and it is the same jsf source code. The book provides sql scripts that set up the users in the Hypersonic database. This all runs correctly. Then the book says to deploy to the JBoss server and this part seems go correctly. I test the connection to the server and that returns correctly. But when I try to log in as the user specified I get the tomcat server exception listed in the subject line. Hoping that someone might provide me a hint of where to look to see what may be causing this. It seems like it may be a permissions setting in the JBoss config. Any suggestions or additional questions would be appreciated. I have written a simple application using jBPM and am quite familiar with the server side components thanks to some useful tips from this forum in the past. Would also be interested in any other tutorials or links that show how to deploy jBPM generated forms to the JBoss app server. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139103#4139103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access portlet preferences when not logged in
Right... So can I access the "portlet instance level" preferences through the management portlet? Or do I have to edit a portlet-instances.xml file? Because normally that file won't have a record of instances I've created through the management applet, right? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139102#4139102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
"[EMAIL PROTECTED]" wrote : | It accepts the new property but it doesn't seem to notice the jboss-remoting.xml file which is in the same place as the jboss-beans.xml that contains the above. Sure. As expected. ;-) When this bean is installed, we're passed PARSE stage. Which is where this new deployer will kick in, for the next deployments. Try deploying jboss-remoting.xml separately, after you've deployed this jboss-beans.xml. btw: you could write this xml config with the new stuff :-) | | just add this before | | | | |urn:jboss:deployers:2.0 | org.jboss.deployers.vfs.plugins.xb.SchemaResolverDeployerMetaData | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139100#4139100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access portlet preferences when not logged in
default preferences are those at the portlet instance level or portlet level View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139099#4139099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access portlet preferences when not logged in
So if I created a portlet instance via the management portlet there's absolutely no way to assign 'default preferences' for non-logged-in users? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139096#4139096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
I tried this out using jboss-deployers from trunk: | | | | | | | org.jboss.cx.remoting.metadata.RemotingMetaData | | jboss-remoting.xml | true | | | | It accepts the new property but it doesn't seem to notice the jboss-remoting.xml file which is in the same place as the jboss-beans.xml that contains the above. To verify that it's finding my jboss-beans.xml, I tried changing "true" to "banana" and it blew up as expected. :-) I'm just using a StandaloneBootstrap with Beta11, using the deployer jars I built from trunk. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139095#4139095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - disabling the tomcat status
I would like to diable the tomcat status page. Just wondering how I go about doing it? Is it possible? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139093#4139093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: eviction inacurracy
I'm guessing this is on both 1.x and 2.x? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139089#4139089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: eviction inacurracy
+1. We should create a test for this, as well as a JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139088#4139088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to programatically deploy a PAR to a remote JBoss in
Hi guys, I've been looking for a way to do the deployment of .esb archives into server/default/deploy directory of JBoss AS running JBossESB inside or JBossESB server, but I didn't find anything related. Please, nnelgp, did you make your MBean? I think it could be useful to deploy other kinds of archives into JBoss * servers. If you made something, please, tell us. Thanks in advance! Regards, Luiz| View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139086#4139086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
No one relevant is in Atlanta. :-) Unless someone in the community has some ideas (knock on wood.) We work remotely from all over the world. I'm in St. Louis. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139085#4139085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal From Source - JSFSunRIPortlet war sample no
After reading your first post carefully, which branch did you use to check out code? If it's more current than 2.6.4, then everything may not work. JBoss Portal 2.6.4 is the latest release we have had. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139075#4139075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Temporary folder name
Great ideia PeterJ, Your tip solved my problem. Now i can define my fixed paths. Thanks. Davi Bariani Boin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139074#4139074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal From Source - JSFSunRIPortlet war sample no
Yes, the jar is present. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139073#4139073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Greetings. Don't know if this would affect things, but application structure is; ear - library jars - multiple ejb jars - multiple wars -Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139070#4139070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS User API?
I manage two types of environments (LDAP that take cares of distribution) and a MASTER/SLAVE copy that relies on file distribution and database conversion. It is a deployment choice based on proven tools. I understand that JBP offers custom modules but for me it is irrelevant : direct access to the database is the only alternative. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139071#4139071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Greetings. I've done some more runs. One (labeled pause), just sat for about two minutes, and then crashed on the next click. Write through an exception during an update, but continued working, briefly. Then crashed. If you need more 'Data points', or additional info, let me know. In addition, I am in Texas, and willing to come out to Atlanta, if anyone wants a 'hands on', to through a Debugger on this system. Steve Links for additional logs; http://j2eeguys.com/~steve/JBoss/server.pause.20080326.log http://j2eeguys.com/~steve/JBoss/server.read.20080326.log http://j2eeguys.com/~steve/JBoss/server.write.20080326.log View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139069#4139069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - JPQL polymorphic query
I have a class hierarchy of 3 Entities, one of which is the superclass for the others: @Entity @Table(name="PER") @Inheritance(strategy=InheritanceType.JOINED) @SequenceGenerator(name="SeqIdPer", sequenceName="SEQIDPER") public abstract class Person implements Serializable { ... } @Entity @Table(name="PHYPER") @PrimaryKeyJoinColumn(name="IDPHYPER") public class PhysicalPerson extends Person { .. } @Entity @Table(name="MORALPER") @PrimaryKeyJoinColumn(name="IDMORALPER") public class MoralPerson extends Person { ... } When I execute the following JPQL: String strPerQuery = "SELECT OBJECT(per) FROM Person per where per.idPer = ?"; query=em.createQuery(strPerQuery); query.setParameter(1, idPerson); Person resPer = (Person)query.getSingleResult(); I get an object of the class Person, but I cannot downcast it to any of the subclasses. For example, even when I know that the person I sought is an instance of PhysicalPerson, the following cast throws a ClassCastException: PhysicalPerson phyPer = (PhysicalPerson )resPer; Even more, when I print the runtime class of the object using resPer.getClass(), I get the following class: mypackage.Person_$$_javassist_16 Shouldn't the query be polymorphic, and return an object of the subclass? I'm using JBoss 5 beta 4. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139068#4139068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Problem with Entity Bean
Hi guys, I got the follow error: javax.ejb.DuplicateKeyException: Entity with primary key [EMAIL PROTECTED] already exists My doubt is: I need to destroy the object or wait for garbage colector or have another way? Iôm using jboss 4.2.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139067#4139067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal From Source - JSFSunRIPortlet war sample no
Can you check to see if jsf-portlet.jar is in WEB-INF/lib? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139065#4139065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Using Websphere MQ wiki (PART 4) configurations with SSL
Hi All, I have successfully configured my JBoss server in order to communicate with Websphere MQ using the following wiki site as a guide. http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingWebSphereMQSeriesWithJBossASPart4 I wanted to take the extra step use SSL. Can anyone help me with this? Thanks, Juan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139063#4139063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Bug: Injected EJB objects instantiated on every MDB call
And when I say it doesn't seem right, I'm really downplaying my jaw dropping feeling on the implications of this, assuming it is what I think it is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139062#4139062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Bug: Injected EJB objects instantiated on every MDB call
I'd bet my software hat on it. I've added some sop's to the constructors of CalculatorMDB and RecordManagerBean just to make sure that the container is playing by the rules when calling postConstruct: CalculatorMDB() { | System.out.println("CalculatorMDB() CONSTRUCTOR"); | } | | RecordManagerBean() { | System.out.println("RecordManagerBean::CONSTRUCTOR()"); | } | And here is the output from hitting the "Calculate" button three times on /EJB3Trail/serviceobjects/injection/calculator.jsp 17:24:06,980 INFO [STDOUT] CalculatorMDB() CONSTRUCTOR | 17:24:07,001 INFO [STDOUT] RecordManagerBean::CONSTRUCTOR() | 17:24:07,002 INFO [RecordManagerBean] postConstruct +++ | 17:24:07,005 INFO [STDOUT] The onMessage() is called | 17:24:09,997 INFO [STDOUT] RecordManagerBean::CONSTRUCTOR() | 17:24:10,000 INFO [RecordManagerBean] postConstruct +++ | 17:24:15,106 INFO [STDOUT] RecordManagerBean::CONSTRUCTOR() | 17:24:15,107 INFO [RecordManagerBean] postConstruct +++ | 17:24:15,108 INFO [STDOUT] The onMessage() is called | 17:24:25,052 INFO [STDOUT] RecordManagerBean::CONSTRUCTOR() | 17:24:25,056 INFO [RecordManagerBean] postConstruct +++ | 17:24:25,058 INFO [STDOUT] The onMessage() is called | One CalculatorMDB object was created and four (?) RecordManagerBean objects. Doesn't seem right to me. cheers dok View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139060#4139060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portlet Header Injection
I have been trying to get portlet header injection to work via jboss-portlet.xml without any luck. I am running on Jboss Portal 2.6. My jboss-portlet.xml contains the following: | | welcome | | | | | In the head for my theme I have the tag, but when the page loads there is no link tag injected. Anyone seen this issue and know what could be going on? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139055#4139055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak
http://jira.jboss.org/jira/browse/JBMESSAGING-1266 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139052#4139052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak
Ok, I think I know what is going on here. I should have it sorted by the end of the week. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139051#4139051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I'm trying, but you dont have to wait for the updatemanager to get it...you can download it and put it in your local installation as a workaround. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139048#4139048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal + DWR
I don't know about the demo but I was able to get DWR 2 and 3 running in a portlet. Assuming the dwr definition is packaged in your portlet (called 'myPortlet') First, go to /myPortlet/dwr/ and verify the debug pages display and the remote methods and DTOs look correct. Then in my portlet's JSP I added this: | | | and I can call the "MyRemote" methods just as if it were a WAR. Don't forget you need the servlet definition in your web.xml. In my case I used the DwrSpringServlet so I didn't have a dwr.xml, just a bean definition. Also recommend using FireFox + FireBug extension to debug any client-side problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139047#4139047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
I'll investigate ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139046#4139046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
"alesj" wrote : | Use both of previous Adrian's suggestions. | This is now done - in deployers trunk. See SchemaResolverXBTestCase for the usage. Adrian, are the class/files locations OK? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139043#4139043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS User API?
That's why you can write custom modules to adapt to your identity server and manage the users the way you want. But again. it's not what this topic was about and it doesn't help the initial author of the topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139042#4139042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal From Source - JSFSunRIPortlet war sample not wo
Hello friends, I downloaded latest JBoss Portal from Source y/d and configured it with JBoss AS 4.2.2 GA along with MySQL5. I also downloaded 2 sample examples 1. HelloWorldJSFMyFaces42Portlet.war 2. HelloWorldJSFSunRIPortlet.war The first one did work fine. However; the second one did not work. I have a running version of JBoss Portal 2.6.4 on other machine where this second war is working pretty well. Can anybody let me know why is it not working with the JBoss that I configured from the Source? Here is the exception: | 2008-03-26 09:19:51,640 ERROR [STDERR] java.lang.ClassCastException: com.sun.faces.portlet.LifecycleFactoryImpl | 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805) | 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486) | 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2008-03-26 09:19:51,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) | 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | and | | 2008-03-26 09:19:51,656 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 2008-03-26 09:19:51,671 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworldjsfsunriportlet]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener | javax.faces.FacesException: java.lang.ClassCastException: com.sun.faces.portlet.LifecycleFactoryImpl | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:387) | at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAcces
[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed
Sorry for inconvenience, I cannot get nightly build right now. I seems, issue was only half-solved. I hope I'm wrong :) I have changed org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior from JBoss Tools 2.0.1 as in JIRA diff. Connector module was deployed after that, but with wrong extension (.jar). This won't work, .rar extension is needed. I will test nightly build myself as soon as possible, but anyone, please take a look. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139039#4139039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Using CLOB in Serlvet
"PrasnnaP" wrote : System.out.println("Connection class = " + con.getClass().getName()); | // This returns "$Proxy55" No this can not be true , I have tested it right now with oracle . Can you try it again with simple jsp page and see if you still see the Proxy , it should be WrappedConnection . http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource Check this How to retrieve the underlying Oracle connection object? | |Connection conn = myJBossDatasource.getConnection(); |WrappedConnection wrappedConn = (WrappedConnection)conn; |Connection underlyingConn = wrappedConn.getUnderlyingConnection(); |OracleConnection oracleConn = (OracleConnection)underlyingConn; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139037#4139037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Scriptaculous JS files are added twice
Done: http://jira.jboss.com/jira/browse/JBPORTAL-1965 I would have provided a patch except I couldn't find where that markup is written from. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139036#4139036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm on oracle
do i have to change the hibernate.cfg.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139035#4139035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS User API?
In my case the master copy of users will never be managed by jbp, so as long as users are kept in jbp database it's just another copy to synchronize with the master copy. Thanks for the advice to "never" do this but using yet another api means rewriting a tool that works already for years and before jbp (jbp is not the central piece) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139034#4139034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Scriptaculous JS files are added twice
Yes please ! And thanks for all the details ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139031#4139031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)
I am not an expert of JSP 186 but I would rather commit the transaction in processAction to let changes seen by other portlets that may use another session. An alternative to share an object outside the current session, why don't you reload it in the doView() ? Using a second level cache has almost the same caching feature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139029#4139029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Method called when we enter and leave pages
Hello ! My question is quite simple. How can I declar methode called when we enter in a page and when we leave a page. I have to perform some code when a user arrive on my page... do I have to use @In (create= true) or @Factory or something else in my managed bean ? Think you for your response ! gl0be View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139028#4139028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Deployed error
Hello to all, I am trying to deploy a war file. I have checked that this war file run in Tomcat but I need to do it in JBOSS. When I did it in jboss I obtained the following error: | 10:35:32,915 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) | 10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0} | 10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0} | 10:35:32,915 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding [EMAIL PROTECTED] url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0} | 26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: i5common.jar commons-logging-1.0.4.jar log4j-1.2.11.jar | 26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at iuclid.war entry is i5common.jar | 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/opt/shared/data/resins/IUCLUD/content/iuclid.war references URL file:/opt/shared/data/resins/IUCLUD/content/i5common.jar which could not be opened, entry ignored | org.jboss.deployment.DeploymentException: url file:/opt/shared/data/resins/IUCLUD/content/i5common.jar could not be opened, does it exist? | end | | the war file has the following name: iuclid.war | | and the following structure: | | +i5client | | +i5clientPlugins | | +images | | +META-INF | | +WEB-INF | | client.properties.jsp | | config.jsp | | download.jsp | | player.jsp | | style.css | | Please I would be very gratefully for any help or suggestion | Best Regards | Talo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139027#4139027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Overriding InvocationHandlerFactory
Particulars: Jboss AS 4.2.2.GA, JBossWS native 2.0.3.GA with JSE endpoints. I am trying to implement my own InvocationHandlerFactory so that I can implement my own InvocationHandler instead of the DefaultInvocationHandlerJAXWS. To do so, I've created my implementations of the factory and the handler. These classes are in WEB-INF/classes directory of the WAR file. In the base dir of the WAR. I've created the file META-INF\services\org.jboss.wsf.spi.invocation.InvocationHandlerFactory with the name of my factory class as the only line. I also have this same file in the classes directory of the WEB-INF directory so its path looks like WEB-INF/classes/META-INF/services/org.jboss.wsf.spi.invocation.InvocationHandlerFactory Regardless, the ServiceLoader keeps finding service file in jboss-4.2.2.GA-Cox-AS/server/default/lib/jbossws-jboss42.jar. So the question is...am I supposed to be able to override that service definition? If so, can I configure the classloader to find the service file in my war before looking in the lib directory without screwing stuff up? Thanks Zach View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139026#4139026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Scriptaculous JS files are added twice
Scriptaculous has this handy built-in thing where it will automatically load its sub-modules (like effects.js) when you include the base scriptaculous.js. See http://wiki.script.aculo.us/scriptaculous/show/Usage.Unfortunately people don't realize this and add script tags for them anyway; the effect being that the libs are included twice: This is the generated portal markup: | | | | | | http://localhost:8080/portal-ajax/dyna/builder.js"; type="text/javascript"> | | http://localhost:8080/portal-ajax/dyna/effects.js"; type="text/javascript"> | | http://localhost:8080/portal-ajax/dyna/dragdrop.js"; type="text/javascript"> | | http://localhost:8080/portal-ajax/dyna/controls.js"; type="text/javascript"> | | http://localhost:8080/portal-ajax/dyna/slider.js"; type="text/javascript"> | | | | | | | | Note that effects, and dragdrop are there twice -- once with a relative and once with an absolute URL. The absolute URLs are generated on the client when scriptactulous.js is sourced. Also I'm guessing the inclusion of controls, slider and builder are unintentional?? Just to double check, I looked at FireBug's "net" console and the libs are in fact being downloaded twice by the client. The easiest solution would be to utilize the built-in loading like so: |