[jboss-user] [EJB/JBoss] - Re: Hot deploying EJBs
Do *.jar files even get read by the JBoss hot deploy scanner? Or do you mean a *.ear? Did you replace the *.ear? Just to make sure you are using the correct files. Countless times I have tripped over that one. Are you using exploded deployment? If not, skip this part. If you are curious, read on. What I presume javarebel means is when you do exploded deployment. Meaning you can unpack the contents of your ear/war/whatever into a folder with the name of your package + extension (unpack MyApp.ear -> ./MyApp.ear/) then you can simply replace the embedded jar file but need to touch the controlling .xml file JBoss requires the package to have. Note, you can only have one of the possibilities in your deploy folder. Either the directory or the package. Sounds more complicated then it is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136990#4136990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: beginners question about MBeans
I am a little confused as you are posting about MBeans but seem to be talking about a Session Bean. If you have an MBean or a Service Bean, you only have one instance of this bean. If you are using a Session Bean, sorry, no idea. But I would also love to hear if this is possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136992#4136992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using Jboss only for persistence
Hi, I am evaluating Jboss performance for my existing project. The project is in Java and is using JDBC queries.We are planning to include a persistence layer between the application and database. I do not intend changing my existing code to use session beans. I plan to use only the perisistence layer. For this, I wanted to use hibernate persistence. Since Jboss is gong to provide connection pooling & caching features, I wanted to use hibernate persistence through JBoss container. I am not able to make out how to call an entity which is instantiated within Jboss from a java class outside the container. Can you please help me in this issue? Regards, Radhika View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136998#4136998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to use all available ID as primary key?
Thanks Xiaopang, I will try it It's near 4 months since I've started EJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136999#4136999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - bpm.war on tomcat!!!
hi, i'm using jbpm-jpdl-3.2.1, can you give me brievly the steps to do in order to use jbpm.war with tomcat us server.i want how to do exactly please!!! P.S: i red jbpmonTomcat and others. thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137007#4137007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Using java.util.logging.Logger to log messages in JBoss
"[EMAIL PROTECTED]" wrote : it sounds like a bug either in our integration or the log4j stuff. can we ask you to dig a bit in that code part? | | thanks | | Still it is bug or it has been fixed?? if it fixed please let me know the solution. I'm facing the same problem. | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137002#4137002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Subdomain in jboss Portal ??
In jboss, i have 2 appWeb: "toto.war" and "tata.war", the subdomain "toto.google.com" is for appWeb "toto.war", and "tata.google.com" is for "tata.war". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137011#4137011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: tab issue
There is not yet a clear distinction between portal and adds on. In my opinion you should not rely on these adds on, the team does not respond so the question is : is it stable? will it remain? The current solution is to rewrite your own. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137008#4137008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Call a web service
I don't know why it's looking into ws.jaxws.Hola directory because it doesn't exist! I built it and to check what happens and now the exception is : | Exception in thread "main" java.lang.IllegalArgumentException: ws.JbpmService is not an interface | at java.lang.reflect.Proxy.getProxyClass(Unknown Source) | at java.lang.reflect.Proxy.newProxyInstance(Unknown Source) | at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:546) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:292) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267) | at javax.xml.ws.Service.getPort(Service.java:92) | at client.JbpmServiceService.getJbpmServicePort(JbpmServiceService.java:52) | at client.JbpmWSClient.main(JbpmWSClient.java:91) | This is right. I haven't got the interface there, I have the class. So, how I have to put the files to this work fine??? Have I to create the jaxws manually to this works fine?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137013#4137013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Completely confused JCA and Hibernate
"gsniderJBoss" wrote : My apologies. I've searched and searched. I'm confused about my current configuration for Hibernate. | | Basically we use Hibernate.getCurrentSession() to 'get' and 'save' information. We have CMT and an XA-datasource configured. | | Is Hibernate using any part of JCA for its work? (the example mysql-ds.xml was in the examples\jca directory). And if I want to use the WorkManager, what am I supposed to do? Is there some default RA to use with JBoss that already works with the WorkManager? | | Here is the use case: | 1) stateless EJB inserts a record into table A: (get the primary key from the insert) | 2) asynchronously do some 'work' that will use the PK from step 1 to insert into child table B | | The problem is | 1) TX1 is created for the insert | 2) TX2 is created by the WorkManager for the inserts into the child table B. But TX2 cannot see the changes made by TX1. | How are you starting the asynchrounous call ? So you would have flow like this Start TX Some Bussiness Logic Invoke AsynCall -> Will continue End TX AsyncCall ---> Ends later .(This can't have control of TX as that is ended earlier) Async Call should end before the END TX , then it would be useful. So asnchronous does not add value here . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137016#4137016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Logging with JDK 1.4
"[EMAIL PROTECTED]" wrote : You mean, how to get JBoss to log through jdk 1.4 loggin? Can't do it. We use log4j which is configurable within jboss/server/http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137003#4137003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Call a web service
The before exception was solucionated putting the libraries into the endorsed lib folder of my JAVA_HOME. But now I have another problem. I was looking information about that in google and I think that is a problem of bad situation of my files I don't now exactly. This is the exception: | Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class ws.jaxws.Hola is not found. Have you run APT to generate them? | at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:249) | at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:545) | at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:492) | at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:334) | at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:220) | at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:588) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:291) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267) | at javax.xml.ws.Service.getPort(Service.java:92) | at client.JbpmServiceService.getJbpmServicePort(JbpmServiceService.java:52) | at client.JbpmWSClient.main(JbpmWSClient.java:91) | | And my files are in the following directories: *client* //The client and the files generated with wsconsume -Hola.java -HolaResponse.java -JbpmService.java -JbpmServiceService.java -JbpmWSClient.java -ObjectFactory.java -package-info.java *ws* -JbpmService.java Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137009#4137009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - SecurityException when running Bpel-HelloWorld example
Hi all, i am getting the following exception when trying to run the test that consumes the BPEL hello world service instance. | | | | java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console | at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97) | 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.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) | 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.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) | at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | at sun.rmi.transport.Transport$1.run(Transport.java:153) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) | at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133) | at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197) | at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) | at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) | at $Proxy0.invoke(Unknown Source) | at org.jbpm.bpel.tools.JBossModuleDeployer.deploy(JBossModuleDeployer.java:46) | at org.jbpm.bpel.tools.ModuleDeployHelper.deploy(ModuleDeployHelper.java:44) | at org.jbpm.bpel.tools.ModuleDeployTestSetup.setUp(ModuleDeployTestSetup.java:52) | at junit.extensions.TestSetup$1.protect(TestSetup.java:22) | at junit.extensions.TestSetup.run(TestSetup.java:27) | Any help would be appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137018#4137018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: combination of JAAS
thanks for the help man! got some new extremely urgent pressured feature to take care of, so i'll get back to this in a few days... thanks, it is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137019#4137019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JBoss AOP Problem
Did you set the javaagent flag? Also there are more up-to-date instructions in bundled as part of the distribution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137020#4137020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JDWP unable to get necessary JVMTI capabilities
Hi, I m sorry to say, I m not going to give the solution for this. But i m also facing the same problem while i m debugging remotely. my os - window 2007 ide - Eclipse. Jboss 4.0.3 I searched a solution in the google, i seen this link. But u mentioned that u done successfully in windows not in linux, even i need in linux in future, but now i need to debug remotely in windows. Please suggest to do successfully. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137021#4137021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JBoss AOP Problem
Yes, I did like this (in run.bat) anonymous wrote : set AVA_OPTS=%JAVA_OPTS%-javaagent:pluggable-instrumentor.jar -Dprogram.name=%PROGNAME% , and I followed the instructions from this page (http://labs.jboss.com/jbossaop/docs/1.5.0.GA/docs/aspect-framework/reference/en/html/running.html), the section 10.3.3. JBoss 4.x and JDK 5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137026#4137026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137026 ___ 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.0.GA released
Hi, the download link for mozilla libraries is not correct, making the install to fail. It would also be good if you can update the install document in wiki, it took me a while until I found the link to the update site. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137027#4137027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Using Subclipse with SeamGen'd projects
Is anybody using Subclipse with their SeamGen'd projects? Are there some files that shouldn't be checked in when the projects are initally checked in? Of course when I check the projects out on another machine some of the lib paths and Jre path don't match up so I just delete those and replace them appropriately but then subversion flags the project as being out of sync with the repository. Also I had a project get flagged as out of sync and I didn't know why. It turned out to be that a file - /.settings/org.jbosstools.jst.web.xml had changed. I know nothing about this file and I am not sure I want to update it to the repository. I looked at it and lot of entries were added to it for jar files with complete path specifications, i.e starting with F:/. So I imagine that would cause problems if I check it out on another machine that doesn't even have an F:. How would I even know what I should check in or not check in when I do the initial check in? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137029#4137029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Column name can not found in JoinColumns.referencedColumnNam
Hello all I got a EntityBean that includes 3 Tables. This is the first time i use one that includes 3 tables. Also my experience is not good. If i try to deploy the Bean, JBoss throws the following exception: | 10:46:36,984 INFO [EntityBinder] Bind entity ejb.LOV_User_Right on table LOV_USER_RIGHT | 10:46:37,000 INFO [EntityBinder] Adding secondary table to entity ejb.LOV_User_Right -> LOV_RIGHT_RULE | 10:46:37,000 INFO [EntityBinder] Adding secondary table to entity ejb.LOV_User_Right -> LOV_USER | 10:46:37,015 WARN [ServiceController] Problem starting service persistence.units:jar=Test.jar,unitName=tcdb | org.hibernate.AnnotationException: Column name lov_urt_right_rule_sign of ejb.LOV_User_Right not found in JoinColumns.referencedColumnName | at org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:297) | at org.hibernate.cfg.annotations.EntityBinder.bindJoinToPersistentClass(EntityBinder.java:424) | .. | My EntityBean looks like this: | package ejb; | | /** | * Programm:TC-Login-LOV_USER_RIGHT-EntityBean | * | * Beschreibung:Login für Thomas Cook. Das Bean bildet die Datenbanktabelle LOV_USER_RIGHT | * ab und übernimmt die kommuniktaion mit der Datenbank. | * | * Autor: | */ | | import javax.persistence.*; | | @Entity | @IdClass(LOV_User_RightPK.class) | @NamedQueries({ | @NamedQuery(name="LOV_User_Right.findByName", | query="SELECT l FROM LOV_User_Right l " + | "WHERE l.lov_urt_user = :name " + | "AND l.lov_urt_status_sign = 'A'") | }) | @Table(name="LOV_USER_RIGHT") | @SecondaryTables({ | @SecondaryTable(name="LOV_RIGHT_RULE", | pkJoinColumns={ | @PrimaryKeyJoinColumn(name="LOV_RR_RIGHT_RULE_SIGN", referencedColumnName="LOV_URT_RIGHT_RULE_SIGN")}), | @SecondaryTable(name="LOV_USER", | pkJoinColumns={ | @PrimaryKeyJoinColumn(name="LOV_USR_USER", referencedColumnName="LOV_URT_USER")}) | }) | public class LOV_User_Right implements java.io.Serializable { | | private static final long serialVersionUID = 1; | | //LOV_USER_RIGHT | private String lov_urt_user; | private int lov_urt_right_rule_sign; | private String lov_urt_status_sign; | private String lov_urt_new_date; | private String lov_urt_update_date; | private String lov_urt_last_user; | | //LOV_USER | //private String lov_usr_user; | private String lov_usr_user_name; | private String lov_usr_user_password; | private int lov_usr_admin_sign; | private String lov_usr_status_sign; | private String lov_usr_new_date; | private String lov_usr_update_date; | private String lov_usr_last_user; | | //LOV_RIGHT_RULE | //private int lov_rr_right_rule_sign; | private String lov_rr_right_rule_text; | private String lov_rr_status_sign; | private String lov_rr_new_date; | private String lov_rr_update_date; | private String lov_rr_last_user; | | //LOV_USER_RIGHT | @Id | @Column(name="LOV_URT_RIGHT_RULE_SIGN") | public int getlov_urt_right_rule_sign() {return lov_urt_right_rule_sign;} | public void setlov_urt_right_rule_sign(int sign) {this.lov_urt_right_rule_sign = sign;} | | @Id | @Column(name="LOV_URT_USER") | public String getlov_urt_user() {return lov_urt_user;} | public void setlov_urt_user(String lov_urt_user) {this.lov_urt_user = lov_urt_user;} | | @Column(name="LOV_URT_STATUS_SIGN") | public String getlov_urt_status_sign() {return lov_urt_status_sign;} | public void setlov_urt_status_sign(String lov_urt_status_sign) {this.lov_urt_status_sign = lov_urt_status_sign;} | | @Column(name="LOV_URT_NEW_DATE") | public String getlov_urt_new_date() {return lov_urt_new_date;} | public void setlov_urt_new_date(String lov_urt_new_date) {this.lov_urt_new_date = lov_urt_new_date;} | | @Column(name="LOV_URT_UPDATE_DATE") | public String getlov_urt_update_date() {return lov_urt_update_date;} | public void setlov_urt_update_date(String lov_urt_update_date) {this.lov_urt_update_date = lov_urt_update_date;} | | @Column(name="LOV_URT_LAST_USER") | public String getlov_urt_last_user(){return lov_urt_last_user;} | public void setlov_urt_last_user(String lov_urt_last_user) {this.lov_urt_last_user = lov_urt_last_user;} | | //LOV_USER | /[EMAIL PROTECTED](name="LOV_USR_USER", table="LOV_USER") | public String getlov_usr_user() {return lov_usr_user;} | public void setlov_usr_user(S
[jboss-user] [JBoss jBPM] - Deploy jbpm-console into jboss-4.2.1.GA
I have been using jbpm-jpdl-3.2.2 with eclipse plugin designer, and server that it's on the distribution. I've changed embedded hypersonic database to mysql database, and I've been working succefully. Now I want to deploy my process to another jboss as. When I want test my process, only go to deployment tab on eclipse designer and write on fields: server name:localhost server port: 8080 Server Deployer: /jbpm/upload then, I press "Deploy Process Archive". Deploy runs ok, and i can check the process at http://localhost:8080/jbpm-console Now I want to deploy my process into another jboss AS that it's on another server. jboss is jboss-4.2.1.GA. I try to deploy process using eclipse designer with server name: 192.168.1.201 (ip of server with jbosss running) server port: 8080 Server Deployer: /jbpm/upload but Exceptions is thrown | An exception happened while testing the server connection. | Reason | An unexpected exception caused the test connection operation to fail. | >>Details | http://192.168.1.201:8080/jbpm/upload | I've readed that to deploy processo to jboss 4.2.X, on WEBINF/lib dir on jbpm-console.war only should contain: commons-fileupload.jar commons-io.jar gravel.jar jbpm4jsf.jar jbpm-identity.jar jbpm-jpdl.jar jsf-facelets.jar Then I 've tried to copy jbpm-console.war that runs ok into my server to jboss-4.2.1.GA and configure WEBINF/lib only with correct jars. When jboss-4.2.1.GA try to deploy war, large exception is thrown on jboss console. Sombody knows how to deploy processdefinitioninto another jboss AS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137032#4137032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss and Postgres on 2 machines
hi, i have taken thread dump when jboss became not responsible (I have used JMeter to simulate stress) and I have plenty of 13:23:26"http-0.0.0.0-8100-9" daemon prio=6 tid=0x604a1800 nid=0x1db4 in Object.wait() [ 0x5d1cf000..0x5d1cfc98] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x1f9f96a8> (a org.apache.tomcat.util.net.MasterSlaveWorke rThread) at java.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.await(MasterSlaveW orkerThread.java:81) - locked <0x1f9f96a8> (a org.apache.tomcat.util.net.MasterSlaveWorkerThr ead) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor kerThread.java:107) at java.lang.Thread.run(Thread.java:619) Guess I have to use remote debugger to find out why threads start to wait and probably block each other? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137033#4137033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Re: Component j_id22 not instance of org.richfaces.component.UID
See Thread at: http://www.techienuggets.com/Detail?tx=17521 Posted on behalf of a User At me the same problem In Response To: Hello, i`m trying to create richfaces components dynamically: | import org.jboss.seam.annotations.Name; | import org.richfaces.component.UIDropDownMenu; | import org.richfaces.component.html.HtmlDropDownMenu; | import org.richfaces.component.html.HtmlMenuItem; | | @Name("confTypeMenu") | public class ConfTypeMenu { | | public UIDropDownMenu getMyMenu() { | UIDropDownMenu menu = new HtmlDropDownMenu(); | HtmlMenuItem menuItem = new HtmlMenuItem(); | String subOption = "Sec. Change Passsword"; | menuItem.setValue(subOption); | | menu.getChildren().add(menuItem); | return menu; | | } | and using it in my .xhtml: | and i get the following error when trying to acces page: Component j_id22 not instance of org.richfaces.component.UIDropDownMenu i`m using JBoss AS 4.2.1, and JBoss Seam 2.0.0 any ideas ? TIA ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problems upgrading from 4.03 to 4.2.2GA
Thank you for your response. The problem got resolved. Yes the class and referenced classes were in the path. On debug I noticed it was finding the class but then throwing an error. I had used 7-zip to delete the log4j.jar from the war. This must have corrupted the file somehow. Once I created a new war and ear using jar commands it worked. Thanks Anand Kumar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137050#4137050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: SecurityException when running Bpel-HelloWorld example
Switched from jboss-4.05 GA to jboss-4.2.2.GA and it now works fine!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137054#4137054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: PortletRequest.USER_INFO returns nothing
Any??? Please assist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137058#4137058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137058 ___ 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 have stumbled upon this bug too. IMHO putting libraries as modules into application.xml breaks Java EE specification compatibility. Java EE 5 specification (page 152) defines four module types: web, ejb, application client and resource adapter. Libraries, commonly used in ejb and/or web modules may be placed in ear file, but they *are not* modules. Libraries should be dealt this way (Java EE 5 specification page 167): ... c. A directory named lib is considered to be the library directory, as described in Section EE.8.2.1, âÂÂBundled Libraries.â d.For all files in the application package with a filename extension of .jar, but not contained in the lib directory, do the following: i. If the JAR file contains a META-INF/MANIFEST.MF file with a Main-Class attribute, or contains a META-INF/application-client.xml file, consider the JAR file to be an application client module. ii. If the JAR file contains a META-INF/ejb-jar.xml file, or contains any class with an EJB component annotation (Stateless, etc.), consider the JAR file to be an EJB module. iii. All other JAR files are ignored unless referenced by a JAR file discovered above using one of the JAR file reference mechanisms such as the Class-Path header in a manifest file. If deleting tags "modules" with libraries solves the issue, this means, that bug is not with WTP, but with JBoss Tools implementation. Libraries must not be placed within tags "module". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137060#4137060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes
No, could you please let me know where I can download the source? When I went to https://sourceforge.net/cvs/?group_id=70542, the page said "This project has terned off cvs". thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137062#4137062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Huge JBPM_BYTEBLOCK - How to purge ?
Is "Huge JBPM_BYTEBLOCK" so strange ? Has It anything to do with JBoss ESB ? Thanks, Erik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137065#4137065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistence confusion in EJB 3.0 .........
Entity Beans (now know as Entities in EJB3) are an Object representation of your relational data. To put it in simple words, an entity is mapped to a table in the database. The columns of the table are mapped through the member variables of the entity. Any operations on the table are performed through this entity in Java. anonymous wrote : | so , how we can define the database that we need to use ?? ( i need to use a MySQL datastore ) You can specify this through a configuration file (Ex: persistence.xml). anonymous wrote : | if i can get more help (regarding this prob) than this forum please give me the links of such resources Read this http://java.sun.com/developer/technicalArticles/J2EE/jpa/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137068#4137068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - can any body explain how to create portlet using struts in j
Hi I am new to JBoss portal and i want to know how to create a struts portlet, Can anybody please specify the steps to create struts portlet, and also specify the tutorial links for this. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137080#4137080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portal-wsrp.sar deployment problem
I did a new clean install and everything works fine now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137081#4137081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Lookup error
Hello, When I launch JBoss and try to go on JBoss Portal, I've got this error : | 15:36:10,731 ERROR [ServiceLocator] Exception during lookup of fr_mckesson_technique_ejb_parameter_jdbc | javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at fr.mckesson.common.util.ServiceLocator.lookup(ServiceLocator.java:167) | at fr.mckesson.common.util.ServiceLocator.getRemoteHome(ServiceLocator.java:132) | at fr.mckesson.common.util.BusinessServiceLocator.lookupCreate(BusinessServiceLocator.java:71) | at fr.mckesson.common.util.BusinessServiceLocator.lookupCreate(BusinessServiceLocator.java:89) | at fr.mckesson.common.util.BusinessServiceLocator.getParameter(BusinessServiceLocator.java:113) | at fr.mckesson.common.parameter.FacadeParameter.selectAllKey(FacadeParameter.java:48) | at fr.mckesson.common.parameter.FacadeParameter.getValue(FacadeParameter.java:20) | at fr.mckesson.common.parameter.FacadeParameter.getValue(FacadeParameter.java:34) | at fr.mckesson.patient.hgpp.app.portlets.context.HWPContext.isWorklistActivated(HWPContext.java:234) | at fr.mckesson.patient.hgpp.app.portlets.context.HWPContext.(HWPContext.java:70) | at fr.mckesson.patient.hgpp.app.portlets.context.HWPContext.getHWPContext(HWPContext.java:99) | | I tried to copy and paste jbossall-client.jar from $jboss_home/client to my classpath and it doesn't change anything. Where does it come from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137085#4137085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: transaction timeout for managed conversation transaction
Hi! I am sorry, it is out of topic, but since you use Hibernate Search you might know... When I try in my application: | FullTextSession session = (FullTextSession) entityManager.getDelegate(); | it throws exception: | 15:45:23,866 WARN [HibernatePersistenceProvider] Unable to wrap into a FullTextSessionProxy, regular SessionProxy returned | java.lang.reflect.InvocationTargetException | 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.seam.persistence.HibernatePersistenceProvider.proxySession(HibernatePersistenceProvider.java:97) | at org.jboss.seam.persistence.HibernatePersistenceProvider.proxyDelegate(HibernatePersistenceProvider.java:116) | at org.jboss.seam.persistence.EntityManagerProxy.getDelegate(EntityManagerProxy.java:95) | I use Jboss 4.2.2.GA, Seam 2.0.1.GA, HibernateSearch 3.0.1. ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137091#4137091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portal-wsrp.sar deployment problem
Glad to hear that it works for you now... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137088#4137088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Webservice invocation woes!
Hi Jihnd, how did you get rid of the ClassCastException? java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl Thanks a lot Bernd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137093#4137093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse source
I am trying to deploy an ejb3 application to JBoss 5.0.0.Beta4. One of my ejb3 jars has a META-INF/jboss.xml with the following root tag: | | http://java.sun.com/xml/ns/javaee"; |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; |xsi:schemaLocation="http://www.jboss.org/j2ee/schema |http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; |version="5.0"> | If I deploy the ear I get the following error: anonymous wrote : | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Element {http://java.sun.com/xml/ns/javaee}jboss is not bound as a global element. | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86) | Trying to remove the xml namespace attributes from the jboss tag didn't help. Then I get a similar resource-ref exception. I tried to modify the conf/jax-ws-catalog.xml but it didn't find a solution so far. Or is there a way to disable xml validation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137095#4137095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse so
>From our testsuite: http://www.jboss.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; | version="3.0"> Try this one? S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137096#4137096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - remote interface and lazy init exception
I haven't found any topic on this EJB3 forum, which seems like its more appropriate here. See this thread, "Catching LazyInitialization exception within an Interceptor": http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124693 The issue here is that my EJB3 SLSB has methods that return JPA entity objects. Some do not have some/all of their relationships loaded (because they don't need to be due to the semantics of the SLSB method call). Rather than force my app to load these unused relationships, we just return entities as-is. We also don't want to have to write and maintain additional DTOs or composite objects just to support the SLSB calls. But, if these calls are made via a @Remote method, this forces the objects to be serialized and if a relationship isn't loaded, the call will throw a LazyInitializationException even though the caller never plans on looking at the relationship data. This is, in effect, the same thing we ran across when using WebServices (in which case we had to implement our own safe invoker code injected in the web services stuff so we avoid these exceptions - there's a thread in the JBossWS forum regarding this). How are people getting around this? I am assuming this will involve introducing a new AOP interceptor - has anyone done that with success? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137097#4137097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes
JBPM Doc: 2.3.1. Anonymous CVS access Alternatively, you can get JBoss jBPM from cvs with the following information: * Connection type: pserver * User: anonymous * Host: anoncvs.forge.jboss.com * Port: 2401 (which is the default) * Repository path: /cvsroot/jbpm * Label: :pserver:[EMAIL PROTECTED]:/cvsroot/jbpm Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137098#4137098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Webservice invocation woes!
If you run JDK 6 you'll need to endorse a bunch of libraries. SAAJ is one of them. Take a look at the WS WIKI, it's documented there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137100#4137100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal with JOSSO authentication
Hi, I've downloaded the jboss-4.2.1.GA_josso-1.6 bundle and deployed the portal. Then I've followed the guide at http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/sso.html and logging in works perfectly. However when I'm logged in as admin I can't access the admin module. I've also checked via /josso/signon/info.do that the admin user has the admin role assigned. Can anyone give me a hint what's missing please ? Thank you, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137101#4137101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Call a web service
Be careful because after you use wsconsume to generate the stubs, you will have to items named ws.JbpmService. One is the web service class, the other is the interface generated by wsconsume. You want to include only the generated interface in your client's classpath. Also,m are you suing wsrunclient to run the client? It build the correct classpath, you need to add in only the jar file containing your client code and the generated stubs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137104#4137104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to use Mysql 5 as jboss-portal-2.6.4-bundled databas
By the way, the reference guide contains detailed instructions on configuring the portal to use mysql. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137109#4137109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to use Mysql 5 as jboss-portal-2.6.4-bundled databas
Yes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137108#4137108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Error while starting server - SearchPortTypePort does no
Hi, just in case, if anybody is looking for the answer, here are the jars required: jaxb-api jaxb-impl jaxb-xjc jboss-jaxrpc jboss-jaxws Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137110#4137110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: growableArray.cpp. Out of swap space?
Leave the gcinterval set as is, or better yet, make it larger. This is the amount of time (1 hour in this case) the jvm will wait before firing up a full garbage collection to collect any leftover objects lying around from rmi usage. Doing this is a useless exercise within an app server but the jvm insists on it. See also this discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=130504 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137102#4137102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Install Portal 2.6.4 to existing JBoss installation?
Did you get it resolved? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137113#4137113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Lookup error
Do you see any error on server side before you try to access JBoss Portal? Which portal and JBoss AS version are you using? Have you done any customization to your installation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137114#4137114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss and Postgres on 2 machines
These threads are expected. They are idle threads waiting for http input to process. There will always be several of these waiting around. What you need to look for is threads that are doing work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137115#4137115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problems upgrading from 4.03 to 4.2.2GA
You have to be very careful using tools like 7-zip to manipulate jar/war/ear files. Many of these tools use compression algorithms that are incompatible with those used by the jvm. A good test to see if such a tool works correctly is to use the jar utility to attempt to extract the jar/war/ear file contents afterwards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137116#4137116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse so
I am sorry but it doesn't seem to help. Now I get the following error: anonymous wrote : | 16:42:51,243 WARN [CollectionPropertyHandler] ClassInfo.getDeclaredConstructor(null) didn't work for org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor in ClassInfo.getDeclaredConstructors() | 16:42:52,664 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/applications/jboss-5.0.0.Beta4/server/default/deploy/core-ear-0.3-SNAPSHOT.ear state=Not Installed mode=Manual requiredState=Parse | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/applications/jboss-5.0.0.Beta4/server/default/deploy/core-ear-0.3-SNAPSHOT.ear/core-riskengine-0.3-SNAPSHOT.jar | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199) | at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:105) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408) | at org.jboss.Main.boot(Main.java:208) | at org.jboss.Main$1.run(Main.java:534) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: QName {http://www.jboss.com/xml/ns/javaee}resource-ref error adding [EMAIL PROTECTED] to collection [EMAIL PROTECTED] | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:223) | ... 22 more | Caused by: java.lang.RuntimeException: QName {http://www.jboss.com/xml/ns/javaee}resource-ref error adding [EMAIL PROTECTED] to collection [EMAIL PROTECTED] | at org.jboss.xb.builder.runtime.CollectionPropertyHandler.handle(CollectionPropertyHandler.java:154) | at org.jboss.xb.builder.runtime.AbstractPropertyHandler.doHandle(AbstractPropertyHandler.java:98) | at org.jboss.xb.builder.runtime.BeanHandler.setParent(BeanHandler.java:197) | at org.jboss.xb.binding.group.ValueListHandler$FACTORY$1.newInstance(ValueListHandler.java:401) | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endRepeatableParticle(SundayContentHandler.java:853) | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:221) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingCo
[jboss-user] [EJB 3.0] - Re: [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse so
Looks like that *did* help, but you're a couple errors deep. :) Caused by: java.lang.IllegalArgumentException: No resource ref name Please check your XML against the expected schema. Turning off XML validation isn't the answer; your jboss.xml must be in expected form. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137122#4137122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Lookup error
Hi, I'm using jboss portal 2.6.4 and jboss AS 4.2.2.GA The JBoss AS and portal is running on a machine with redhat OS. I've changed the default ports in $JBOSS_HOME/my_configuration/deploy/jboss-web.deployer : | | | | | | When I first launch JBoss AS, I've got no errors. Then when I try to reach the portal I deployed in $JBOSS_HOME/my_configuration/deploy (not the default one), I've got this error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137125#4137125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Call a web service
Hello! Now I'm executing from Eclipse, because I'm building an .ear that contains a dinamic web project where the web service is inside. But I got the following error: | Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl | at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.(AttachmentUnmarshallerImpl.java:55) | at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210) | at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103) | at $Proxy25.hola(Unknown Source) | at client.JbpmWSClient.main(JbpmWSClient.java:95) | | If I generate the jar and executing it with wsrunclient the following exception it's thrown (the library jboss-common-client.jar is in my path): | Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedException | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) | at java.lang.Class.getConstructor0(Class.java:2699) | at java.lang.Class.newInstance0(Class.java:326) | at java.lang.Class.newInstance(Class.java:308) | at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36) | at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95) | at javax.xml.ws.spi.Provider.provider(Provider.java:76) | at javax.xml.ws.Service.(Service.java:57) | at client.JbpmServiceService.(JbpmServiceService.java:42) | at client.JbpmWSClient.main(JbpmWSClient.java:79) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137129#4137129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - org.jboss.ws.WSException
Does anyone have the idea about the following exception? I was trying to deploy a webservice. The exception says : org.jboss.ws.WSException: arg0 is not a valid property on class ... I am not getting any resource regarding the exception. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137131#4137131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Lookup error
As per reference guide (section 3.1), changing port in your_server_config/deploy/jboss-web.deployer/server.xml should be enough. You have to make some WSRP related change as described in 14.3.1. >From error log, it seems like you have your custom portlets deployed. Just to >make sure, can you try only changing the port and revert back all other >changes meaning undeploy any of your custom application etc. If you already done these then you should look into JBoss Portal support. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137133#4137133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Where to put application- AND layer-specific jar-files w
I think you are looking for this: | | | | Personally, I never use the "ear" task to create an ear. Instead I first copy everything that goes into the ear to a directory, then use the jar task to package up that directory. I do it this way because 90% of the time what I want to deploy is the exploded ear directory, not the ear file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137139#4137139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistence confusion in EJB 3.0 .........
thanks jaikiran ... i got it cleared View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137142#4137142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - problems connecting to a Queue
Hi, I've got a weird problem with Messaging, I'm trying to connect to the queue from a standalone application and I'm getting "Failed to download and/or install client side AOP stack" which I cant seem to find the explanation of. The description of the queue is: The code I'm | | | | queue/tnb/inbound | jboss.mq:service=DestinationManager | | | the Code I'm using to connect is: | public boolean setUpJMS(String server) | { | Properties props = new Properties(); | props.setProperty( "java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory" ); | props.setProperty( "java.naming.provider.url", server ); | props.setProperty( "java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ); | System.out.println("Got Props, connecting to " + server); | try | { | InitialContext ic = new InitialContext(props); | System.out.println("Got IC"); | | connectionFactory = (ConnectionFactory)ic.lookup("ConnectionFactory"); | String sQueueName = "queue/tnb/inbound"; | queue = (Destination)ic.lookup(sQueueName); | System.out.println("Got queue: " + sQueueName + " aka: " + queue.toString()); | | connection = connectionFactory.createConnection(); | System.out.println("Got connection"); | | connection.setExceptionListener(new ExceptionListenerImpl()); | System.out.println("setExceptionListener"); | | session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); | System.out.println("Got session"); | | producer = session.createProducer(queue); | System.out.println("Got producer"); | | return true; | } | catch(Throwable t) | { |System.out.println(t.getMessage()); |return false; | } | } | when running the app I get the following: | Server: 192.168.2.230 argsLen = 1 | Starting:192.168.2.230 v0.1 | Got Props, connecting to 192.168.2.230 | Got IC | Got queue: queue/tnb/inbound aka: JBossQueue[TNB-Queue] | log4j:WARN No appenders could be found for logger (org.jboss.remoting.transport.socket.MicroSocketClientInvoker). | log4j:WARN Please initialize the log4j system properly. | Failed to download and/or install client side AOP stack | and the second strange thing is that when I run the same code from the same machine JBoss is on (Red Hat Fedora 8), I get | Server: 192.168.2.230 argsLen = 1 | Starting:192.168.2.230 v0.1 | Got Props, connecting to 192.168.2.230 | Got IC | null | Any help would be really appreciated. Cheers Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137145#4137145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Hey, I performed some tests and now I am sure there's encoding problem but I'm not sure on which size, I've created the simplest WS .NET method with one string parameter and after calling the WS method, on the .NET side I see gibberish instead of UTF8 encoded string, Please note, English works fine, the problem occurs only in other languages (in my situation it's hebrew) Is there anything I can do? I'm clueless, I'm finding myself encoding/decoding strings in Base64 because of this issue :( Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137146#4137146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137146 ___ 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.0.GA released
which page on the wiki are you referring to ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137147#4137147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - where are nightly builds?
I was looking for latest nightly builds but all links are broken and these (http://download.jboss.org/jbosstools/builds/nightly/) directories have nothing inside. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137155#4137155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException
Its a bit urgent. I would appreciate any response. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137164#4137164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes
Thanks for the instruction. By the way, what kind of fixes are made after 3.2.2 for this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137165#4137165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Calling web applicatons in the same server
Hi there , i have two applicatons deployed into Jboss 4.2.I would like to now if is possible call a page from application to another , example : application A page calls application B page , rendering that like a h:outputLink java server face tag or calling using de crossContext or something ;) ? When calling the page from the application , after submit a form i will have to return a "id" to application A. thanks for any assistance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137167#4137167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Install Portal 2.6.4 to existing JBoss installation?
...I think, I have the same problem. I have a java:/PortalDS installed and it works very fine the FIRST time! When I restart the server I get this error | --- Incompletely deployed packages --- | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-aop.xml } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-aop.xml | altDD: null | lastDeployed: 1205781205391 | lastModified: 1205781205000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-admin.sar/lib/portal-faces-loader-lib.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-admin.sar/lib/portal-faces-loader-lib.jar | altDD: null | lastDeployed: 1205781205462 | lastModified: 1205781205000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-admin.sar/ } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-admin.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1205781205462 | lastModified: 1202469416000 | mbeans: | portal:commandFactory=Configurator state: Created | portal:commandFactory=Delegate,path=configure state: Unregistered | portal:urlFactory=Configurator state: Unregistered | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/ant.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/ant.jar | altDD: null | lastDeployed: 1205781205861 | lastModified: 1205781205000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/commons-collections.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/commons-collections.jar | altDD: null | lastDeployed: 1205781205942 | lastModified: 1205781205000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jackrabbit-core.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jackrabbit-core.jar | altDD: null | lastDeployed: 1205781206297 | lastModified: 1205781205000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jackrabbit-index-filters.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jackrabbit-index-filters.jar | altDD: null | lastDeployed: 1205781206312 | lastModified: 1205781206000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jcr-1.0.jar } | deployer: [EMAIL PROTECTED] | status: Created | state: CREATED | watch: file:/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA/server/all/deploy/jboss-portal-ha.sar/portal-cms.sar/lib/jcr-1.0.jar | altDD: null | lastDeployed: 1205781206329 | lastModified: 1205781206000 | mbeans: | | [EMAIL PROTECTED] { url=file:/Users/carsten/Documents/workspace3/Genloop.generator/lib
[jboss-user] [JBoss Portal] - Re: Install Portal 2.6.4 to existing JBoss installation?
I see this error very few lines above the PortalDS installation: | 20:13:51,852 WARN [ContentTypeRegistration] Couldn't perform ContentProvider registration | org.jboss.mx.util.MBeanProxyCreationException: Object name portal:service=ContentProviderRegistry not found: javax.management.InstanceNotFoundException: portal:service=ContentProviderRegistry is not registered. | at org.jboss.mx.util.JMXInvocationHandler.(JMXInvocationHandler.java:163) | at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:90) | at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:78) | at org.jboss.portlet.content.ContentTypeRegistration.contextInitialized(ContentTypeRegistration.java:117) | 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.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.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | 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 $Proxy91.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | 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) |
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: connection pool configuration ?
Any thoughts on this? Anyone? Thanks, Mike (aka patzerbud) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137180#4137180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Install Portal 2.6.4 to existing JBoss installation?
CarstenRudat, first, you should have started a new post, not appended to someone else's post. Second, your first post is the deployment report printed at the end of the initial deployment phase and usually provides not reasons for why the deployments failed. Your second post is closer to the type of information required. But what you really need to look for is the first exception stack trace. If you cannot locate it because is scrolled off the console buffer, then look in the server.log file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137181#4137181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: connection pool configuration ?
Are you saying that after 5 minutes the number of connections falls below 10? >From my understanding, it should work like this. When you first bring up the >app server, there are no connections. The first app that needs a connection >causes 10 (min-pool-size) connections to be created. If additional connections >are needed, up to max-pool-size connections will be created. If more than >min-pool-size connections are made, and any of them are idle for more than >idle-timeout-minutes, then they are closed, but there will always be at least >min-pool-size connections. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137185#4137185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException
I am posting the sample of the code. Package and Import statements are removed. @XmlAccessorType(XmlAccessType.FIELD) @XmlType(propOrder = { "id" }) @XmlRootElement(name = "getMyRequest") public class MyRequest { private Long id; public Long getId() { return id; } public void setId(Long id) { this.id = id; } } @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name" }) @XmlRootElement(name = "getMyResponse") public class MyResponse { private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } } @WebService(name = "MyFunctions") public interface MyFunctions { @WebMethod(operationName = "getName") @WebResult(name = "name") @RequestWrapper(localName = "getMyRequest", className = "com.test.services.server.MyRequest") @ResponseWrapper(localName = "getMyResponse", className = "com.test.services.server.MyResponse") public String getName(Long tourId); } @Stateless @WebService(endpointInterface = "com.test.services.MyFunctions") @TransactionAttribute(TransactionAttributeType.REQUIRED) public class MyFunctionImpl implements MyFunctions { public String getName(Long tourId) { return null; } } The following is the error I get. I am using jboss 4.2.2 GA. org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/Software/jboss/extracted/jboss-4.2.2.GA/server/hermes/deploy/temp.jar; - nested throwable: (org.jboss.ws.WSException: arg0 is not a valid property on class com.test.services.server.MyRequest) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1050) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor20.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.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 $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) Caused by: org.jboss.ws.WSException: arg0 is not a valid property on class com.test.services.server.MyRequest at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:926) at org.jboss.ws.metadata.acessor.JAXBAccessor$1$1.create(JAXBAccessor.java:75) at org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(ParameterMetaData.java:480) at org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(OperationMetaData.java:458) at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations(EndpointMetaData.java:533) at org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(EndpointMetaData.java:519) at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointMetaData.java:507) at org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMetaData.java:429) at org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:196) at org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect.create(EagerInitializeDeploymentAspect.java:50) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
[jboss-user] [JBossWS] - Re: Turn on clientAuth only on the web services
Is it even possible to tie a web application to a port? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137205#4137205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes
searching the jira for 'staleObjectException jbpm' resulted in http://jira.jboss.com/jira/browse/JBPM-1072 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137208#4137208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problems starting Jboss 4.2.2.GA with Portal 2.6.4
Are you, by any chance, using JDK 6? If so, try using jDK 5. The second exception you posted, regarding the FaceletPortletViewHandler, is sort of expected. At least from what I recall - I get lots of facelet errors that seem to be innocuous. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137211#4137211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBossTools 2.0.1.GA released
JBossTools 2.0.1.GA has been released. Update site: http://downloads.jboss.org/jbosstools/updates/stable Download page: http://downloads.jboss.org/jbosstools/ View the blog post here: http://jbosstools.blogspot.com/2008/03/jbosstools-201ga-released.htm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137219#4137219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: where are nightly builds?
Keen eye =). I'm working on fixing this right now.. I'll post a quick message when it's ready to be used again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137220#4137220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes
Thanks for the jira info JBPM-1072. I have read through it. First of all, I would like to confirm my understanding is correct. jBPM polls JOB table entry by JobExecutorThread and execute the job by the same JobExecutorThread object. Since each thread has unique name and save it into job record to lock it, the job will be executed only once by one thread. And this jira concluded the cause of SOSE is that each thread has the same name, that's why the same executed more than one thread that causing conflict. But what I am facing is little bit different. The SOSE is happening when it's locking parent token object that is shared by many job entries if they are under the same "fork" node. Since each thread for each job entry of the same parent token will call session.lock() against the same parent token object in optimistic locking fashion, the SOSE will be thrown as java code says. I have downloaded latest version of Join.java, that has sussion.flush() right before session.lock() is called. But it still has the SOSE on the method invocation of the second node's execution under the fork. I have found the work around for this issue with JDBC "select for update" and session.refresh(parentToken) instead of calling session.flush() and session.lock(parentToken). This implementation is very simple, and works perfectly even jobs run on the different JVM under clustered environment. Is it possible to ask jBPM team to review my implementation? Tak View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137238#4137238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to verify Jboss has started ons stop on windows.
We have Jboss installed on Windows and is run as a windows service. We have a austosys (cron/scheduler) which runs a different machine (is unix) How do this process (austosys) communicates with Jboss to see if it has stopped cleanly and and started cleanly (with no excepetions in betweeen). How do we resolve this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137239#4137239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Performance Issue with large chunk of data retreival.
Thanks for yr reply. It does help. What you are proposing is right in terms on intermediate solution. some sort of paging mechanism where report data is done in page by, and probably curses approach on DB side. anyway what sort of products you have in mind.. anyy insights.. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137246#4137246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - maxThreads Tomcat setting
hi I am using Jboss 4.2.2GA and tomcat is configured to handle up to 5000 threads concurrently. During the load testing, i used up all the 5000 threads, and 2 days later jboss still has 5000 threads in Ready state. How do i tell jboss to close/destroy these threads and only keep minimum of N number of threads and create new ones if needed. Its just 5000 threads are holding onto memory and resource which takes up some of the CPU and memory which can be used elsewhere in the meantime. Please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137250#4137250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Upgrading JBoss from 4.0.5 to 4.2.1.GA causing binding issue
I have two jboss (4.2.1.GA) servers that are running on linux box and hosted by hosting company. They have internal IPs as 10.4.1.* and have external IPs 69.*.*.* and also have host names and then they have load balancer (hardware load balancer) in front of them, which uses 69.* IPs for load balancing. When I upgrade the servers from 4.0.5 to 4.2.1.GA and start them up with following command: $ ./run.sh -c default -b 0.0.0.0 or $ ./run.sh -c default -b 69 or $ ./run.sh -c default -b hostname I can't connect to them by IE anymore from external. The app servers are running properly. By the way I know this topic has been addressed many times, but I am not sure why I can't solve this issue using -b 0.0.0.0 Any suggestion would be greatly appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137251#4137251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - "Incomplete Deployment listing" after redeploying EJB jar
I have a bunch of war/jar etc files in deploy/. Normal start-up works fine and when I replace one of the (EJB) jar files it is picked up and redeployed as expected, but right after that I get a long list with all the other files that weren't redeployed (why should they?): 2008-03-17 16:57:37 -0700 org.jboss.deployment.scanner.URLDeploymentScanner | ERROR: Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/home/jboss/server/default/deploy/0020xyz-ejb.jar } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/jboss/server/default/deploy/0020xyz-ejb.jar | altDD: null | lastDeployed: 1205777355391 | lastModified: 1205777355000 | mbeans: | ... Despite the logged error, all seems to be working fine (and no other errors are logged). I'm using the PrefixDeploymentSorter, don't know if that makes a difference. This is on JBoss 4.0.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137252#4137252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - JBoss5 - how to start and stop MDB?
Hi, I'm new to JBoss5 (Beta4). Is there a way to stop a specific MDB to receive messages? Also is it possible to configure JBoss NOT to activate a specific MDB during startup? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137256#4137256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Identity/Access Management/SSO UseCases
I would like to see more flexibility for JBossSX to interact with client for obtaining various type of credentials. When doing SSO, it's almost impossible to avoid doing HTTP redirects, set and delete cookies and other HTTP operations. It is therefore very beneficial to add a HTTP Callback to enable a JAAS Login Module to do all these stuff. At the moment, there's only username password call back. So developers have to workaround it using valves to interact with the user. SAP WebAS' JAAS API is an example that has this HTTP Callback. Developing custom sso authentication module for SAP WebAS is a breeze because of this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137257#4137257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - jboss scheduler losing time
We have a scheduler which is scheduled to run every day at 11 am. The configuration looks like this: | | | false | myspace.gateway:service=MyConfigMBean | | execute() | d/MM/yy HH:mm | 24/02/08 11:00 | 8640 | -1 | myspace.gateway:service=MyConfigMBean | | | | However we notice that the scheduler fires at the wrong time. It lags behind. | | For the first few days after it is deployed, it is firing at 11 am | | Then it is drifting slowly. It schedules at 11.15 am and the next day 11.20 am,11.45,11.55 and so on... | | There is no pattern though. | | Is there anyone who had encountered similar problem before? | | Thanks. | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137258#4137258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - FileCacheLoader failing with EOFException with fix
File cache loader in a cluster was failing with EOF exception while restoring an object, under load. It looks like the original hash map was not getting written properly. The original code is given below: protected void storeAttributes(Fqn fqn, Map attrs) throws Exception { File f = getDirectory(fqn, true); File child = new File(f, DATA); if (!child.exists()) if (!child.createNewFile()) throw new IOException("Unable to create file: " + child); FileOutputStream out = new FileOutputStream(child); ObjectOutputStream output = new ObjectOutputStream(out); output.writeObject(attrs); out.close(); } Changing the code as given below seems to fix the issue. protected void storeAttributes(Fqn fqn, Map attrs) throws Exception { File f = getDirectory(fqn, true); File child = new File(f, DATA); if (!child.exists()) if (!child.createNewFile()) throw new IOException("Unable to create file: " + child); FileOutputStream out = new FileOutputStream(child); try { MarshalledValueOutputStream output = new MarshalledValueOutputStream(out); output.writeObject(attrs); output.close(); out = null; } finally { if(out != null) out.close(); } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137259#4137259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss scheduler losing time
Sorry, the configuration file looks like : | | false | netspace.gateway.select:service=SelectGatewayConfigMBean | processNSEvent() | d/MM/yy HH:mm | 24/01/07 11:00 | 8640 | -1 | netspace.gateway.select:service=SelectGatewayConfigMBean | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137261#4137261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Passing objects to JBoss Webservices
Hello, I have got a web method in my webservice as follows: | @WebMethod | public Hashtable getPointValues(@WebParam(name="pointList") List pointList) | { | Hashtable pointValueList = new Hashtable(); | for(int i=0;ihttp://obixservice/obix"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";> | | | | P003 | P002 | P004 | P001 | P005 | P007 | P006 | P010 | P009 | P011 | P008 | P012 | | | | the getPointValues method mentioned above is expected to return hashtable. But its returning a string containing soap message. How do i make this method return a hashtable ? Thanks R.Naik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137263#4137263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: FileCacheLoader failing with EOFException with fix
It looks like the original code did not close the ObjectOutputStream, rather it closed the underlying file stream, which isn't correct. Could you file a JIRA issue and link to this post? By the way, I think the FileCacheLoader is documented as not so production worthy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137267#4137267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions
Absolutely. However, I wonder why the attribute - binding="late" is not added in the xml schema, I only found out by going through the code that we can actually use that. Should'nt the xml schema definition be updated? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137268#4137268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137268 ___ 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.2.GA Clustering ERROR !!!
Hi.. I wanna inform you all that i was clustering jboss 4.2.2GA and in Fedora 8 environment.. I ve been trying cluster Jboss 4.2. For acquiring Loadbalancing, i ve run apache httpd 2.0 version.. and when i wanna test the cluster, i could not run the application on apache server, as similar to jboss.. like http://localhost/sample/hello.jsp Its giving error like [Tue Mar 18 11:36:56 2008] [notice] Apache/2.0.63 (Unix) mod_jk/1.2.26 configured -- resuming normal operations [Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample [Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample [Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/favicon.ico please look at this issue and respond me at the earliest.. PS: I request you to mail me the solution to [EMAIL PROTECTED] Thanks & Regards, Praveena. "harish73" wrote : Hi, | | I have installed jboss-4.2.2.GA with clustering on two different windows XP machine. | | 1) I don't know why the other member isn't joining the cluster. | | GMS: address is 153.58.49.100:7800 | --- | 19:37:39,658 INFO [Partition A] Number of cluster members: 1 | 19:37:39,658 INFO [Partition A] Other members: 0 | 19:37:39,658 INFO [Partition A] Fetching state (will wait for 3 milliseconds): | 19:37:39,658 INFO [Partition A] State could not be retrieved (we are the first member in group) | 19:37:39,721 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/153.58.49.100 | 19:37:39,737 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /153.58.49.100:1102, group=230.0.0.4, HA-JNDI address=153.58.49.100:1100 | 19:37:42,080 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used | 19:37:42,346 INFO [STDOUT] | | 2) | | 20:03:18,028 WARN [NAKACK] 153.58.49.100:4358] discarded message from non-member 153.58.45.51:4877, my view is [153.58.49.100:4358|0] [153.58.49.100:4358] | 20:03:18,028 INFO [TreeCache] viewAccepted(): MergeView::[153.58.45.51:4877|1][153.58.45.51:4877, 153.58.49.100:4358], subgroups=[[153.58.45.51:4877|0] [153.5 | 8.45.51:4877], [153.58.49.100:4358|0] [153.58.49.100:4358]] | | | Can someone help me. | | Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137272#4137272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM Exception Hanlding, how to pass the exception object
Hello, I am trying to write exception handlers for a process definition. When an exception occurs, I would like the ExceptionHandler to be executed. However it would be crucial for me to know what exception message was in CommonHandlerException. The sample code anonymous wrote : | | | Thus when a CommonHandlerException is thrown, ExceptionHandler will be executed as action, but how do I make sure that the exception object is passed on to the action class. Kindly advice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137273#4137273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user