[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JVM Crash with JBoss 4.2.2
This is a JVM crash which should be reported to Sun. You can even try downloading the latest version available and see if that fixes the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176295#4176295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: App priority
"acastanheira2001" wrote : Is there a way to set different priorities for each of them? | | Can you please elaborate on what you mean by "priorities for each application"? Are you looking for order of deployment of each of these applications or something else? Also please provide some more details about how your applications are packaged and what version of JBoss you use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176293#4176293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Is annotation enough for deploying a session bean?
The annotations are enough to deploy an EJB3 in JBoss-4.2.x. However injection of EJBs into servlets is not supported in JBoss-4.2.x. Instead you could do a lookup of the bean in the servlet. See this for more details http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107353 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176292#4176292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176292 ___ 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: Cannot find port in wsdl:
Since I did not get reply and I had to work on the problem, we figured out what is JBoss requirement to fix the problem @javax.jws.WebService(endpointInterface="org.example.duke.AddNumbersPortType", targetNamespace = "http://duke.example.org";, portName="AddNumbersPort") It seems targetNamespace is required in the implementation class. This is not documented anywhere in the wsconsume wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176291#4176291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?
"francis17101970" wrote : You should provide some more info about your system. the log file is rolled, since the log4j with FileRolling is used. I have posted the earliest error logged. "francis17101970" wrote : You should provide some more info about your system. | Anyway it is it seems that more Thread are accessing the Hibernate Session Object and you eventually try to manipulate a Session which has been closed. | If you are closing the session yourself, and it's not an error, you might want to think about extending the life of the session. A very, very common pattern is to open a Hibernate Session transaction as soon as a request comes in. Then, when all the processing is done, from the Servlet to the final JSP, the transaction is closed. This can be achieved by opening and closing the Hibernate Session in a ServletFilter. | | Take a look at this: | http://www.hibernate.org/42.html#A8 No, I was running on stress test and it(session) should not suppose to be closed. What might be the root cause? WHat's the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176290#4176290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - help with Jboss datasource lookup using springs
hi all I am trying to use springs JndiObjectFactoryBean to get a datasource connection through Jboss connection pool. When ever i do so i get an error java: not bound on starting my application. When i remove the the spring initialization server starts up fine and binds my data source correctly. Below are some of my configs jboss-web.xml DB Connection devpfmdb javax.sql.DataSource java:devpfmdb Container web.xml DB Connection devpfmdb javax.sql.DataSource Container Bean config java:devpfmdb I also verified that on start up i can see [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=devpfmdb ' to JNDI name 'java:devpfmdb' When i dont use spring config below code line works DataSource envCtx = (DataSource) initCtx.lookup("java:/devpfmdb"); when i try same here it not working. Any help would really be appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176288#4176288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Take 3 - Relationship between jboss-app.xml and *-object
While we would like to be able to answer each and every post on the forum, it's just not humanly possible. I think you'd agree that you'd rather have us spend our time working on the project than answering every possible questions on the forums. This said, I looked at your first post and concluded (perhaps mistakenly, granted) that it was a case of someone not having read the documentation as the *-object.xml format is described in the documentation (for reference, http://www.jboss.org/jbossportal/docs/index.html[/url] and more particularly at [url]http://docs.jboss.com/jbportal/v2.7.0.B1/referenceGuide/html/xmldescriptors.html#desc_objectxml). The configuration of a RichFaces portlet deployed using the Portlet Bridge project is describe in the documentation of the Portlet Bridge project and hasn't much to do with Portal itself. Complaining about not getting free service when, at least by reading your post, it seems you haven't even taken the time to read the available documentation is quite inappropriate to say the least. Posting your topic several times didn't help your case either. Finally, using an open source product doesn't entitle you to free support or anything else for that matter. If you were to use a commercial product, you'd have to pay for support (or it'd be included in the license price, same difference). Why people assume that because a product is free, so must any services related to it, is beyond me... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176286#4176286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to develop portlet with richfaces?
Thanks for this site, but i found this: anonymous wrote : The only component that isn't available is the file upload component. It is scheduled to be available in the next portlet bridge release sometime early September. Like i also asked in RichFaces-Forum, is it now possible to use in JBoss Portal 2.7.x with Portletbridge B4 and Richfaces? Thanks for an answer, DanielK PS: Sorry, for using this thread for this question, but i could not resist after this "article" :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176284#4176284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal and mobile devices?
I think on two different ways to accomplish this: 1. mod_rewrite magic If you use Apache in front of JBoss, you can use mod_rewrite in order to redirect the user to different portals depending on user agent. You have more customization, but keeping the content in sync for both portals can be cumbersome. 2. Adaptive layout/theme You can include logic into your layout jsp pages to render your pages according to the informed user-agent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176283#4176283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Is annotation enough for deploying a session bean?
Hi, I am using jboss-4.2.3.GA with Java 5. I have created a session bean like this: @Stateless | @Local( { MyBeanInterface.class }) | public class MyBean implements MyBeanLocal, MyBeanInterface { | ... | | } | Also created a servlet like this: public class MyServlet extends HttpServlet { | private static final long serialVersionUID = 1L; | | @EJB | private MyBean myBean; | | public void service(HttpServletRequest request, | HttpServletResponse response) throws ServletException, IOException { | System.out.println("the servlet MyServlet has been invoked"); | if (myBean == null) { | System.out.println("myBean is NULL"); | } else { | System.out.println("myBean is not NULL"); | } | ... | } | | ... | | } | I put everything in an ear file and deployed it in the server. When I try to invoke the servlet it complains that the bean has not been properly injected into the servlet. Here is the log on the server: anonymous wrote : 14:38:02,568 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear | 14:38:04,928 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer | 14:38:04,936 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=myEnterpriseProject.ear,jar=myEjbProject.jar,name=MyBean, | service=EJB3 with dependencies: | 14:38:04,959 INFO [EJBContainer] STARTED EJB: myPackage.MyBean ejbName: MyBean | 14:38:10,958 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.3.GA/server/jms/tmp/deploy/tmp38195myEnterpriseProject.ear-contents/m | yEjbProject.jar | 14:38:11,067 INFO [TomcatDeployer] deploy, ctxPath=/abc, warUrl=.../tmp/deploy/tmp38195myEnterpriseProject.ear-contents/myDynamicWe | bProject-exp.war/ | 14:38:13,172 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear | 14:38:23,255 INFO [STDOUT] myBean is NULL | 14:38:23,257 ERROR [[MyServlet]] Servlet.service() for servlet MyServlet threw exception | java.lang.NullPointerException | at myServletPackage.MyServlet.service(MyServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:619) | | I can see MyBean starting but it is not in the servlet. Do I still need to create the deployment ejb-jar.xml file for the jar file containing the bean? I thought the annotation would do the job for the trivial case. I would appreciate any suggestion. Thanks. Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176280#4176280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: deployment of ear containing jars + sar
Add the jars to the META-INF/Manifest of the .ear file. Be doubly sure have "Classpath: " in there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176279#4176279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to develop portlet with richfaces?
http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176276#4176276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return
Are you using the community version of JBossAS, or the enterprise version (EAP)? Please line in the console log that looks like this (it is the second line in the log): 08:57:12,482 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= JBoss_4_2_3_GA date=200807181417) You can also find this line in the server/xxx/log/boot.log file. If you are using the community version someone has changed the security settings and done so incorrectly. Could you try again with a clean install of JBossAS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176271#4176271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: All web page URIs respond with blank page
Works great now! Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176268#4176268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How do you get JBossConnectionFactory to connect to a re
Try this: Context initial = new InitialContext(); ConnectionFactory cf = (ConnectionFactory)initial.lookup("ConnectionFactory"); where jndi.properties contains: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://remotemachine.faraway.com:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176267#4176267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Would like to use ProcessDefinition subclass for custom seri
We want to use custom serialization (externalizable) for ProcessDefinitions because there isn't any reason to serialize the the ProcessDefinitions when going in and out of network caches. We really just need to serialize the names of the ProcessDefiitions and then reattach with readReplace(). The problem is that the BPM will not let us swap in our own subclass of ProcessDefinition and it doesn't use interfaces or factories in this particular area. (It has nice configurable behavior in other places) | Our code calls ProcessDefinition.parseXmlInputStream() | That calls jpdlReader.readProcessDefinition() | readProcessDefinition is hardwired to create instances of the ProcessDefinition class. It calls ProcessDefinition.crateNewProcessDefinition(). | createNewProcessDefinition() creates the instance and configures it in one method. | We thought about subclassing JpdlXmlReader to create our own ProcessDefinition (subclass) instances but the readProcessDefinition() method needs to be broken into two parts. The first part creates an instance and stores it in the processDefinition attribute on JpdlXmlReader. The second part of the broken up readProcessDefinition() method would do all the processing exactly as it does. We tried post-process replacing ProcessDefinition instances with OurProcessDefinition instances but that is too late in the process. There are many objects in a ProcessDefinition that have back pointers to the ProcessDefinition that contains them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176266#4176266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Persistenting Custom Objects
The system will automatically persist serializable classes as byte arrays. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176263#4176263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - at org.hibernate.engine.StatefulPersistenceContext.(Stateful
collection growing to 16000 and not garbage collected. Collection Counts: java.util.HashMap 16823 org/hibernate/engine/StatefulPersistenceContext.(org.hibernate.engine.SessionImplementor) java.util.HashMap 16823 org/apache/commons/collections/SequencedHashMap.(int) java.util.ArrayList 16708 org/hibernate/engine/ActionQueue.init() StackTrace: at org.hibernate.engine.StatefulPersistenceContext.(StatefulPersistenceContext.java:118) at org.hibernate.impl.SessionImpl.(SessionImpl.java:209) at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:473) at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:497) at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:505) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:116) at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:336) at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) Please advise any suggestions to resolve this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176262#4176262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - XDoclet Issue with Eclipse 3.4
Hi Sorry if this post is not supposed to be here. but looked for some thing specific abt Eclipse didn't find any so posting it here. So the problem is, I have Eclipse 3.4. When I open windows->preferences->Xdoclet I see a error message on top that reads "Missing library: xdoclet-1.2.1.jar. Select the home directory for XDoclet. 1.2.1" I downloaded that xdoclet1.2.1.jar file from sourceforge but that file is in .zip format. I unzipped it and pointed eclipse to find the file there. But it shows the same error. If i look in to the unzipped folder there actually is no xdoclet-1.2.1.jar there. I thought may be the file extention of downloaded file should be changed fom .zip to .jar and did that (by changing the windows settings that allow doing it) and tried to point eclipse to this one. But still the error wont go. can any one let me know how to get out of this and use xdocletsor is there any other plugin for eclipse that would automate ejb 2.1 deployment descriptor creation for Jboss deployment... thq for reading ...plz let me know any thing tht would help solve this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176260#4176260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return
Peter, I use Jboss 4.2.0 GA. When I enter http://myserver:8080/ it shows the "Welcome to Jboss" page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176259#4176259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Jbossws Sample build failed
Hi, I downloaded jbossws-1.2.1.GA.zip and installed it to jboss-4.0.5GA using JDK 1.5.0_06 on Windows 2003. Start jboss and I can access http://localhost:8080/jbossws. To build the samples I dis the following: - unzip jbossws-samples-1.2.1.GA.zip - cd jbossws-samples-1.2.1.GA - cp ant.properties.example as ant.properties - in the ant.properties file: - set jboss40.home - set jbossws.integration.target=jboss40 I then ran ant, but received error: thirdparty-get: [get] Error getting http://repository.jboss.org/apache-collections/3.1/lib /commons-collections.jar to D:\jbossws-samples-1.2.1.GA\thirdparty\commons-collections.jar Do I need to set proxy anywhere? My machine itself has no problem access http://repository.jboss.org. Then I tried to manually download the commons-collections.jar and placed it in the ..\thirdparty directory and run ant again, but received another error: D:\jbossws-samples-1.2.1.GA\build.xml:249: java.lang.IllegalStateException: Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl Any clue? I appreciate your help greatly! I am now being blocked :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176257#4176257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How do you get JBossConnectionFactory to connect to a remote
I am trying to migrate a straight Java SE app from ActiveMQ to JBoss Messaging. This app creates a JMS ConnectionFactory to a JMS server on a remote machine. I would expect to use code along the lines of: connectionFactory = new JBossConnectionFactory("tcp://remotemachine.faraway.com:someport"); | connection = connectionFactory.createConnection(); | connection.start(); | session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); | destination = session.createQueue("MyQueue"); | etc. However, there doesn't appear to be any constructor for JBossConnectionFactory that does this. Am I using the wrong approach? Help appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176251#4176251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: All web page URIs respond with blank page
Oh wait, it was staring me in the face and I did not even see it. You have downloaded and installed the variation of 4.2.3 for JDK 6, but you are using JDK 5. Either download the regular version of JBossAS 4.2.3, or install JDK 6 and change JAVA_HOME to reference it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176249#4176249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return
What version of JBossAS are you using? It would appear that some security settings have been made - I would not expect this error from an out-of-the-box deployment of the community editions of JBossAS. What happens if you enter: http://myserver:8080/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176248#4176248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: dataTable onRowClick not able to call java bean
Have you looked at the html source within your browser? I suspect that there would have to be be some JavaScript that make the asynch call back to the server. I would first attempt to make sure that JavaScript was firing (either by using proxy server or network monoitor to capture the traffic). I would use the code from 3.1.3 (which was working) to determine what the HTML should look like and to ascertain what traffic should appear and then use 3.2.1 to see what the new HTML looks like and to determine if the expected traffic is still appears. Only when I was certain that the event was being fired at the browser and the expected request was being sent to the server would I start messing with the bean, or looking at the app server code. By the way, what browser are you using? Does it work for a different browser? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176247#4176247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Alternate .war deployment
"bob.mcwhirter" wrote : | Those exist by default, looking for any CLMD to deploy into my unit? I noticed an explicit WarClassLoaderDeployer in the codebase. Was not sure if I needed to mirror that for my own, or if I can count on a standard CLDeployer in the mix with the 'default' config. | There is ClassLoadingDefaultDeployer that creates 'empty' CLMD, if there is none. For WCLD, I don't have enough info to know if you should mirror that. But most of the times it's about providing right CL metadata as we tried to do it as flexible as possible - to avoid n different CL deployers impls. ;-) "bob.mcwhirter" wrote : | | | unit.addAttachment( WebMetaData.class, md); | | | That should ultimately be visible to the kernel to act upon? | Kernel? It's one of the deployers that should pick it up and act upon it. And kernel can be injected into deployers, as MC eats it's own dog food. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176242#4176242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: All web page URIs respond with blank page
I did as you suggest, putting jboss and the jdk at the c:\ root but still same behavior 2008-09-12 11:44:53,380 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/ java.lang.NoClassDefFoundError: javax/ejb/Stateless JAVA_HOME=C:\jdk1.5.0_16 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176241#4176241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return
Peter, Whenever I hit http://myserver:8080/jmx-console/ it throws in server.log the following: 2008-09-12 15:40:14,845 87133065 WARN [org.apache.catalina.authenticator.FormAuthenticator] (http-0.0.0.0-8080-4:) Unexpected error forwarding to login page java.lang.NullPointerException at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316) at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.forwardToLoginPage(ExtendedFormAuthenticator.java:141) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244) at org.jboss.web.tomcat.security.ExtendedFormAuthenticator.authenticate(ExtendedFormAuthenticator.java:86) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Any ideas? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176238#4176238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: dataTable onRowClick not able to call java bean
Hello again, I'm fairly certain this is a syntax problem, but I have been unable to figure this out. I've tried changing my bean code to being setters/getters and that didn't work. I've also tried using a do method, but no luck there either. I'm able to call an alert window from the jsp, but not the bean class, which makes me think this must be syntax. I would really appreciate some help with this, as I'm new to RichFaces. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176237#4176237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error getting CommandServiceBean
My first response would be: Your error is that you post to way to little relevant info... :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176236#4176236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: signaling to a forked sibling
yikes... hmm... I would solve it a completely different way I think. More datadriven. Why not make I1,I2 and I3 variables. Have two states. O1 and O2, each with a decision under them. Each decision has two outcomes, one back to the state and one to a next state. Each time one of the variables get's updated, you signal both states which then go to the decision and each decision checks the values of the variables and decides which transition to take. These decisions can be in java, drools, script or One other solution is to just have two states with one outcome (go-further) and put the decisions AND signalling of states in drools. You can decide there which of the states to signal. Hope I gave you some more info. either way if you could (as you promised to do from now on ;-) ) make this in a unit test, please post it. We need more of these examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176235#4176235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Can't catch persistenceException
What is being done at this line in the servlet: at com.playjam.server.test.TestServlet.doGet(TestServlet.java:49) My guess: the transaction is not committed until the create() method exits. It is not until the transaction is committed that the database is updated and notices the error, and that is too late for the catch block in create(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176234#4176234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task timer and TaskInstance.dueDate field
1: Sure, no problem... just model it that way 2: leaving the node but keeping the task and 'just' notify? Via Email? That is possible with a timer. Via a new task, leaving the node where to? A new tasknode? And what if the user finishes the task before someone else can react on this task? Do you want to cancel it then? Remember that jBPM van have tasks that are not in the flow... you can create and start them when a timer goes off. And e.g. cancel them when a transition is taken on the original node. Just to show you (and this is a one time effort by me ;-)) I've made an example of this which is even somewhat configurable. These are all possible with jBPM *now* just think out of the box and model these things into your process. Or write some code (actionhandlers etc..) The thing is, escalation, or the way people want it, is so dependant on the case, it cannot to the fullest extend be part of the processlanguage. The solution for the initial problem 'reported' is to give both the timer and the duedate (which is just for informing the original owner) the same date. but what need is a date for a reminder if when the duedate is reached | package net.vankuijk.jbpm; | | import java.util.ArrayList; | import java.util.Collection; | import java.util.List; | import java.util.Map; | | import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | import org.jbpm.db.AbstractDbTestCase; | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.def.Node; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ExecutionContext; | import org.jbpm.graph.exe.ProcessInstance; | import org.jbpm.graph.exe.Token; | import org.jbpm.graph.node.TaskNode; | import org.jbpm.taskmgmt.def.Task; | import org.jbpm.taskmgmt.exe.TaskInstance; | import org.jbpm.taskmgmt.exe.TaskMgmtInstance; | | public class EscalationExampleTest extends AbstractDbTestCase { | | ArrayList ownerIDs; | ArrayList escalatorIDs; | | List ownerTasks; | List escalatorTasks; | | public void setUp() throws Exception { | super.setUp(); | | ownerIDs = new ArrayList(); | ownerIDs.add("owner"); | | escalatorIDs = new ArrayList(); | escalatorIDs.add("escalator"); | | } | | static String processDefinition = "" | + " " | + "" | + " " | | + " " | + "" | + " " | | + " " | + "task escalated" | + " " | | + " " | + "" | + " " | | + " " | + "" | + " " | | + " " | + "" | + " " | + "" | + " " | + "" | + "" | + " " | | + " " | + "" | + " " | | + " " | | + ""; | | void deployProcessDefinition(String xml) { | ProcessDefinition processDefinition = ProcessDefinition | .parseXmlString(xml); | jbpmContext.deployProcessDefinition(processDefinition); | newTransaction(); | } | | public void testNormalFlow() { | | deployProcessDefinition(processDefinition); | | ProcessInstance processInstance = jbpmContext | .newProcessInstanceForUpdate("testEscalation"); | processInstance.signal(); | | processInstance = saveAndReload(processInstance); | | ownerTasks = jbpmContext.getGroupTaskList(ownerIDs); | TaskInstance ownerTask = (TaskInstance) ownerTasks.get(0); | ownerTask.end(); | | assertEquals(0, processInstance.getTaskMgmtInstance() | .getUnfinishedTasks(processInstance.getRootToken()).size()); | | assertEquals(true, processInstance.hasEnded()); | | } | | public void testEndingNormalTaskAfterEscalationCancelsEscalation() { | deployProcessDefinition(processDefinition); | | ProcessInstance processInstance = jbpmContext | .newProcessInstanceForUpdate("testEscalation"); | long piId = processInstance.getId(); | processInstance.signal(); | | assertEquals(1, processInstance.getTaskMgmtInstance() | .getTaskIns
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: All web page URIs respond with blank page
Many Java libraries have problems with paths that contain spaces. Try moving JBossAS out of Program Files. For example, I have JBossAS installed at f:/opt/jboss/jboss-4.2.3.GA. You should also do the same for the JDK - mine is at c:/apps/java/jdk1.5.0_16 (you do not have to re-install the JDK, simply moving it and changing JAVA_HOME is sufficient.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176231#4176231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - All web page URIs respond with blank page
I installed a jboss server 4.2.3.GA on my Windows XP workstation. After run.bat, I can connect to localhost:8080 but my browser will only show a blank page. Same for any .war content I add. In fact, it will show a blank, not a Page Not Found, for anything after the 8080. My JAVA_HOME=C:\Program Files\Java\jdk1.5.0_16 I noticed a lot of startup errors. The first in my log is 2008-09-12 11:10:20,198 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/Program Files/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/ java.lang.NoClassDefFoundError: javax/ejb/Stateless at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42) at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219) at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy34.accepts(Unknown Source) at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $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.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.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.Ser
[jboss-user] [EJB 3.0] - Can't catch persistenceException
Hi, I have the following code and am deliberately violating a unique constraint to create a javax.persistence.EntityExistsException. It seems that JBoss or Hibernate is hiding the exception, the only time I can catch it is when it has travelled all the way back to my invoking servlet. Is there a workaround for this or what am I doing wrong? I'm using JBoss 4.2.2 Thanks, Chris. Code: @Stateless @TransactionManagement(value=TransactionManagementType.CONTAINER) public class CustomersDAO implements CustomersDAOLocal, Serializable { private NamingStrategy ns = NamingStrategyFactory.getInstance().getNamingStrategy(); @PersistenceContext private EntityManager em; public CustomersDAO() { } @TransactionAttribute(value=TransactionAttributeType.REQUIRES_NEW) public void create() { Customer cus = new Customer(); cus.setAccountEnabled(true); cus.setEmailAddress("[EMAIL PROTECTED]"); cus.setPassword("Password"); cus.setPin("PIN"); cus.setUsername("Username"); cus.setRegistrationChannelId(1L); try { InitialContext ctx = new InitialContext(); CountriesDAOLocal countriesDAO = (CountriesDAOLocal)ctx.lookup(ns.getLocalName(CountriesDAO.class)); Country c = countriesDAO.findCountryByCountryCode("GB"); cus.setCountry(c); createCustomer(cus); } catch (EJBException ejbe) { PlayjamEJBException pje = new EJBExceptionConverter().convertToPlayjamEJBException(ejbe, "Country", "GB"); System.out.println("Rethrowing... as pje"); throw(pje); } catch (NamingException ne) { ne.printStackTrace(); } catch (RuntimeException re) { System.out.println("caught runtime exception in CustomersDAO, " + re); re.printStackTrace(); } Exception stack trace (this is what I can't catch). 18:49:05,242 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 18:49:05,242 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (PJ3.PJ_CUS_UK1) violated 18:49:05,242 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 18:49:05,242 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (PJ3.PJ_CUS_UK1) violated 18:49:05,257 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListen er.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(Synchronizat ionImple.java:114) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247 ) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(Transacti onImple.java:1389) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:8 7) at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagat
[jboss-user] [JBoss Messaging] - Re: Singleton MDB with JBM.
Hi Pete, This is the way it worked with JBoss MQ and HASingleton, you could set a barrier on a MDB such as: Depends( "jboss.ha:service=HASingletonDeployer,type=Barrier" ) This would get the job done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176223#4176223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Oracle generated entities failure
Hi, I'm trying to generate via JBoss Tools in eclipse the entities in my database. I created a Seam project and configured the access to the DB, unfortunately when testing the connection all it does is a ping, and then tried to generate the entities but the following error is shown: Can't generate seam entities | org.hibernate.exception.DataException: Error while reading column meta data for SYS.SYSNTwcNCdfWFTEK/T61J7dxvoA== | Error while reading column meta data for SYS.SYSNTwcNCdfWFTEK/T61J7dxvoA== | org.hibernate.exception.DataException: Error while reading column meta data for SYS.SYSNTwcNCdfWFTEK/T61J7dxvoA== | Error while reading column meta data for SYS.SYSNTwcNCdfWFTEK/T61J7dxvoA== | java.sql.SQLException: ORA-01424: missing or illegal character following the escape character | | ORA-01424: missing or illegal character following the escape character any ideas why this could be happening? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176221#4176221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Singleton MDB with JBM.
I now at least understand what you want, but I have no idea how to accomplish it. It appears as if you do not really want clustering, but rather want some kind of fail-over capability. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176219#4176219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss
You are welcome. I'm glad that you are up and running. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176218#4176218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss
Thank you Peter for all your help.. JBoss started without any errors View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176212#4176212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Alternate .war deployment
"alesj" wrote : "bob.mcwhirter" wrote : | | At this point, my web.xml is super-easy, and my code just programmatically assembles it. | | | Does this mean you're assembling WMD or web.xml? | I guess WMD should do it. | Yes, a WebMetaData is what I'm building, not a web.xml file. "alesj" wrote : | Yup. | It's the CL deployers that pick this up. | Or you can hack something up, like I do it in my Seam-int. | e.g. adding custom jar if deployment is Seam app | Those exist by default, looking for any CLMD to deploy into my unit? I noticed an explicit WarClassLoaderDeployer in the codebase. Was not sure if I needed to mirror that for my own, or if I can count on a standard CLDeployer in the mix with the 'default' config. "alesj" wrote : | "bob.mcwhirter" wrote : | | For the scope of attachments... got a pointer for the differences? | | | Not really. :-) | Basic point is that some attachments are available to client, | some are just server side info, e.g. temp info passing around. | | unit.addAttachment( WebMetaData.class, md); | That should ultimately be visible to the kernel to act upon? Thanks muchly, -Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176208#4176208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - signaling to a forked sibling
Hello, We have a workflow where a number of observers need to observe a number of items. A possible dependency relationship is such: Process / \ Observer1 Observer2 /\ / \ Item1 Item2 Item3 An observer can only continue in the workflow if all observed items were "activated". So e.g. Observer1 can only continue after it gets a signal from both Item1 and Item2. A possible chain of events after fork: I1 activates, O1 notices, but does not continie (I2 not activated) I2 activates, O1 notices, continues, O2 notices, but stays put I3 activates, O2 notices, continues (I2 was activated) We are trying to solve this as follows. O1,2 are state nodes, I1,2,3 are task nodes. The workflow branches to O + I branches: | .-- FORK --. |||| | O1 O2I1 I2 I3 |||| | When any Item activates, it sends an event that Os can see, and the Os decide if they can continue. I just don't really know how to implement this with jbpm, or if this is a good way the solve the problem. Any help appreciated. Thanks, Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176207#4176207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy and run under -all configuration
Thanks for the code.. It helped me...But there was a problem with the code When I run service.bat(which I named it), the cmd window just shows up and goes away. Well I done some R&D on this and figure out that by removing the JAVA_HOME from the file it worked fine. could u explain me what might be the problem with the code u gave? And thanks a lot for writing the code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176205#4176205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: VisualVM
Well, I could play with the 1.0.1 version and check it out, but you could have done the same and reported on your findings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176204#4176204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - App priority
Hi, We´ve run a jboss instance that servers 4 apps. Is there a way to set different priorities for each of them? Thanks, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176202#4176202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error getting CommandServiceBean
hi i got an error trying to find the CommandServiceBean | String localCommandServiceJndiName | = "java:comp/env/ejb/LocalCommandServiceBean"; | try { | Context initial = new InitialContext(); | LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName); | LocalCommandService localCommandService = localCommandServiceHome.create() | | ; | i copied the code from sources. but localCommandService is null when i look at web-console jndiView i see jndiName: ejb/CommandServiceBean what is my error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176198#4176198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Validation of XSD (minLength, maxLength and pattern)
I have a WSDL operation which is based on a XML schema with the following info: CheckInDate: YYMMDD Couple of questions around this schema: 1. Does JBossWS framework understand the xml schema constraints of xs:minLength, xs:maxLength and xs:pattern, if specified? 2. What kind of error (Soap or otherwise) does the JBossWS framework throw or report to the WS-Client, if minLength, maxLength and pattern constraints are violated.? 3. If not, do I need to do a validation around these constraints in my code and throw a wsdl 'validation error' fault. Thanks in Advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176196#4176196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Redirecting a specific html page or link using installed
Correction - the "Current users" portlet shows the logged in users. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176195#4176195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Are there any customers who are using the JBoss Communit
Hi, Thanks for the reply... Can I you give me some customers who have deployed their applications on JBoss community edition and successuflly using the application over the internet /inteanet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176192#4176192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Redirecting a specific html page or link using installed
Peter: Air Conditioner comment was funny. :-) I think what sachinverma meant by "a/c" is account. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176191#4176191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Redirecting a specific html page or link using installed
anonymous wrote : i want to show a specific html page on a user a/c Why would you want to shows an html page on an air conditioner (a/c)? My air conditioner does not even have a screen! anonymous wrote : how can i show a html page on users created in jboss portal The list of users is available in the admin portal. And the Users portal lists users who are logged on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176189#4176189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: JBoss 4.2.2 + WSMQ XA Syncpoint (2072) problem solved
Thank you very much, I was experiencing the same issue and this information has been very useful in fixing it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176186#4176186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Alternate .war deployment
"bob.mcwhirter" wrote : | At this point, my web.xml is super-easy, and my code just programmatically assembles it. | Does this mean you're assembling WMD or web.xml? I guess WMD should do it. "bob.mcwhirter" wrote : | I also an building a ClassLoadingMetaData (well, a VFSClassLoaderFactory...), and have setOutput( ClassLoaderingMetaData.class ). I'm figuring (?) that's how I setup my effective classpath for the deployed web-app, and it's there I can jack in my paths to jruby.jar and friends. That sound about right? | Yup. It's the CL deployers that pick this up. Or you can hack something up, like I do it in my Seam-int. e.g. adding custom jar if deployment is Seam app "bob.mcwhirter" wrote : | For the scope of attachments... got a pointer for the differences? | Not really. :-) Basic point is that some attachments are available to client, some are just server side info, e.g. temp info passing around. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176185#4176185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to replace Tomcat in JBoss
Just now looked at the binary at docs/license/third-party-licenses.xml. It states: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176184#4176184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: org.hibernate.engine.StatefulPersistenceContext.(S
maybe don't load that much data ? in any case looks like a jbpm question since you are using jbpm. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176182#4176182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to replace Tomcat in JBoss
anonymous wrote : 4.0.5 uses 5.5.23 Really? Then the packaging process is broken. In the 4.0.5 source I downloaded in October of 2006, the third-party/apache-tomcat/components-info.xml file states: | |http://tomcat.apache.org"; | description="Tomcat 5.5 servlet 2.4 web container"> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176180#4176180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Alternate .war deployment
"alesj" wrote : | "BobMcWhirter" wrote : | | 3) If I should create a WebMetaData, should I attach it as an attachment to the VFSDeploymentUnit my RailsDeployer is handed? | | | Yes. | But, like I already said, you have different scopes of attachments. | Pick the one that suites your purpose best. | e.g. predetermined, transient, transient-managed, ... | Much appreciated, Ales-- At this point, my web.xml is super-easy, and my code just programmatically assembles it. I also an building a ClassLoadingMetaData (well, a VFSClassLoaderFactory...), and have setOutput( ClassLoaderingMetaData.class ). I'm figuring (?) that's how I setup my effective classpath for the deployed web-app, and it's there I can jack in my paths to jruby.jar and friends. That sound about right? For the scope of attachments... got a pointer for the differences? Thanks! -Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176173#4176173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss
See http://wiki.jboss.org/wiki/DebugBindException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176172#4176172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - set custom properties to xa data source (deploy/con-ds.xml)
HI, I am trying to add a ldap property to the jboss configuration file this ldap property will be used for setting load balancing in oracle, the configuration file is somename-ds.xml and it is used for connecting to oracle database the configuration for xa-datasouce properties. which uses 'oracle.jdbc.xa.client.OracleXADataSource' class to connect to database the configuration is file extract is jdbc/TCRecsDB false true false oracle.jdbc.xa.client.OracleXADataSource jdbc url EncryptDBPassword2 OFF org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 100 the problem is when i start jboss it throws error NoSuchMethodException 11:25:48,217 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Could not find accessor on XADataSource: ; - nested throwable: (java.lang.NoSuchMethodException: oracle.jdbc.xa.client.OracleXADataSource.setoracle.net.ldap_loadbalance(java.lang.String))) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:162) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:539) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:228) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) at com.smartstream.control.common.configuration.dao.EngineHibernateUtil.getProductNameFrom(EngineHibernateUtil.java:127) at com.smartstream.control.common.configuration.dao.EngineHibernateUtil.getSqlDialect(EngineHibernateUtil.java:85) at com.smartstream.control.common.configuration.dao.EngineHibernateUtil.createHibernateConfigPropertiesEngine(EngineHibernateUtil.java:46) at com.smartstream.control.common.configuration.dao.EngineHibernateUtil.(EngineHibernateUtil.java:36) at com.smartstream.control.common.configuration.dao.HibernateUtil.createEngineInstance(HibernateUtil.java:72) at com.smartstream.control.engine.EngineStartupManager.initialise(EngineStartupManager.java:65) at com.smartstream.control.engine.EngineStartupManager.(EngineStartupManager.java:44) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:75) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:579) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312) at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:80) at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructor
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss, Tomcat, CVE-2008-1232 and related
Thank you for the response. I was hoping that the embedded Tomcat was not the full version, but was obviously wrong. So, I presume, the only solution is to upgrade JBoss? Is there a patch available to apply to 4.0.3SP1? Thank you again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176168#4176168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Possibility to test passivation / activation of SFSB
Many thanks, Francesco. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176167#4176167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: VisualVM
I can see that recentely was released a new version of VisualVM (1.0.1). Can it be that this bug was fixed ? This tool looks like it will replace JConsole in the future...I do hope that's a bug that will be soon fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176164#4176164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Jboss throws ERROR on deploying war file in HASingleton
Thanks dyazbek, yes it works irrespective of whether I add the dependency on barrier or not. but if I add the dependency, there is an error at Jboss starts up, which I guess might be because of some configuration problem, but application is accessible through browser. ok so I decide to ignore this problem, but you have any soln to avoid this ERROR... please provide your inputs. now moving on to the next step... jboss in all the nodes (say 2) was started using "run -c all -b 0.0.0.0" so each instance is bound to the corresponding IP. meaning to say is instance on node 1 is bound to IP1 and instance of node2 is bound to IP2. Now say node 1 is master, the application is accessible on http://:8080// not on http://:8080// and if node 2 is master, the application is accessible on http://:8080// not on http://:8080// Problem: As a user of the application, I should not be bothered about what is the master node's IP. there should a domain name or IP for that applicaiton and application should be accessible through that IP or domain name irrespective of which node is Master. So is there any way to configure the IP/domain name, which sheilds user from all this switching from Master to standby and vice-varsa. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176159#4176159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: forking tasks
That's what TTD is for :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176158#4176158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane assignment - h e l p m e !
this currently is not supported this way (although it would be a nice addition) Write your own assignmenthandler for this. It can be a very simple one (see e.g. the testcases in the source of jBPM or search on the web for examples View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176157#4176157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)
the jaxws.war cannot load things from the processarchive (via the processclassloader) so that is an expected error. with 'everything' I just meant the classes that are in the processarchive, not all the jaxb stuff etc... (that should already be on the classpath by jboss itself. Adding them to the classpath manually can give you many errors View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176156#4176156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Take 3 - Relationship between jboss-app.xml and *-object
Thomas, If one posts several times the same thing, this is not in order to have fun, but simply because nobody replies. Posting several times the same topic, one hopes that finally a solution to the problem will be found. Unfortunately, this is not my case as, beside another contributor kind help which wasn't really related to my question, the only thing I received is your sarcastic and arrogant comments. And this is not for the first time. Why don't you give me the answer to my question instead of beeing concerned how many times I posted my problem ? You're the JBoss Portal project lead, you should know art least what jboss-app.xml is for and why modifying it making the portlets to fail to deploy. It's too easy to claim on all the roofs to have offered to the Open Source community free and reliable software and to propose your costly support service as soon as one needs help to get your stuff running. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176154#4176154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Possibility to test passivation / activation of SFSB
You can test activation/passivation by setting the timeout parameter in the @CacheConfig annotation. | @Stateful | @CacheConfig(idleTimeoutSeconds=10) | public class HelloBean implements HelloBeanItf, Serializable { | | | @PrePassivate | public void beforePassivate () { | System.out.println("Going to be passivated"); | } | | @PostActivate | public void afterActivation () { | System.out.println("Going to be reactivated"); | } In this example the EJB will be passivated after 10 seconds. If you try to access to the Bean instance again then it will be reactivated Hope it helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176147#4176147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy and run under -all configuration
try @echo on | rem - | rem JBoss Start CC | rem - | | set JAVA_HOME="C:\Progra~1\Java\jdk1.5.0_15" | | | cd C:\jboss-4.0.5.GA\bin | C:\jboss-4.0.5.GA\bin\run.bat -c default -b 0.0.0.0 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176143#4176143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Jws deployment error with HTTPS Jboss 4.2.3
solve myself ... just add the javassist.jar in the jnlp descriptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176139#4176139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy and run under -all configuration
Could you please give me the code? I am a newbie Any help would be appreciated... Thanks for the reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176138#4176138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: forking tasks
Hi Ronald, Thanks a lot for your help! I don't really know what caused the problem, but now everything works correctly. The test case you wrote was very useful, I could adapt it to set up unit tests for our work flow, and I just kept tweaking the process definition and code until things worked. Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176137#4176137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - ClientReconnectInterceptor for Jboss Messaging ?
Hello, I'm migrating a jboss mq application to jboss messaging. I see in my old configuration that we have a ClientReconnectInterceptor to allow a client to connect to the server even if it's clientID is allready being used by another client. I didn't saw in jboss messaging docs where to configure a ClientReconnectInterceptor in jboss messaging ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176133#4176133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Messaging distribution problem
Hi, I'm using JBoss EAP 4.3 (which contains 4.2 AS and 1.4.0 JBM). I have 2 clustered machines, identical apart from the ServerNode id. The DB is running on a separate machine (MySQL), and the DefaultDS is configured to point to a 'jbossdb' database. The connection factory is JmsXA. I have an application which, when it receives a call, puts 1 messages onto a queue. Each message is then processed by an MDB. Everything works fine ... but : - When only one machine is running the messages are all processed in 54 seconds, and the MDB processing takes an average of 30 ms. - When both machines are running the messages take 6 1/2 minutes to process and the average time is 60+ ms! The distribution of messages between the systems seems fairly even - Java CPU time is roughly the same on both machines. I have played with the 'prefetch' params, and all the message bean params I can find, but nothing I do seems to make a difference. I have read the documentation and forums and can find nothing I haven't tried. Could anybody point me towards other things to investigate please - the entire system is based on horizontal scalability via MDB's and is dead in the water if I can't get quicker throughput by adding more machines. Many Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176131#4176131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?
You should provide some more info about your system. Anyway it is it seems that more Thread are accessing the Hibernate Session Object and you eventually try to manipulate a Session which has been closed. If you are closing the session yourself, and it's not an error, you might want to think about extending the life of the session. A very, very common pattern is to open a Hibernate Session transaction as soon as a request comes in. Then, when all the processing is done, from the Servlet to the final JSP, the transaction is closed. This can be achieved by opening and closing the Hibernate Session in a ServletFilter. Take a look at this: http://www.hibernate.org/42.html#A8 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176130#4176130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Are there any customers who are using the JBoss Communit
well of course there are some projects using the community edition, even if for larger projects usually the Customers require a Certified version of jBoss which you get when you buy support from Red Hat. A subscription to red hat is usually a small % of the project budget (compared to HR ) so they're not willing to risk. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176123#4176123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy and run under -all configuration
just make a simple myrun.bat script that call run.bat with the arguments you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176120#4176120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: EJB3 timer and cluster behaviour (JBoss 5.0.0)
Hi Daniel, what you do is deploy the MDB as HASingleton and the timer will only have one server with this special MDB. But the timeout will happen for each node, because the TIMER-table is the same for all. What I need is a real cluster aware timer where a SLSB|MDB can create a timer and it is ensured within the hole cluster that this SLSB is only started once if the timer exceed, also if the SLSB|MDB is active at each cluster node. So your workaround didn't works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176094#4176094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Maximum Queue Size and dropping messages with lowest priorit
Hi, we want to limit the queue size and drop messages in queue with the lowest priority and not the last offered. does someone know a scenario how to realize this? thx for your help We are using JBoss 4.2.3 + JBoss Messaging 1.4.0 SP3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176093#4176093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is MailFolder.getNewMessages supposed to work?
Changing the protocol to be used from POP3 to IMAP solves this issue. Based on this experience I conclude that JBoss does not support the polling of a mailbox with POP3. Jira issue: https://jira.jboss.org/jira/browse/JBPAPP-1177 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176091#4176091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can I specify the size of the portlet being displayed on
Could anyone out there help me do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176090#4176090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Redirecting a specific html page or link using installed jbo
Hi, I am newbie; i have recently installed jboss bundled jboss As 4.2.3 GA with jboss portal jboss 2.6.6 GA, after this i have created a few users in that. i want to show a specific html page on a user a/c but i cannot; i have gone through a bunch of portlets already provided but they do not solve my purpose. anonymous wrote : | Can anybody suggest how can i show a html page on users created in jboss portal as like other portlets installed and provided in jboss Please help if anyone can View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176086#4176086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Redirecting a specific html page or link using installed jbo
Hi, I am newbie; i have recently installed jboss bundled jboss As 4.2.3 GA with jboss portal jboss 2.6.6 GA, after this i have created a few users in that. i want to show a specific html page on a user a/c but i cannot; i have gone through a bunch of portlets already provided but they do not solve my purpose. anonymous wrote : | Can anybody suggest how can i show a html page on users created in jboss portal as like other portlets installed and provided in jboss Please help if anyone can View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176085#4176085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - How to enforce a limit to the number of users?
Hi We are using JAAS DatabaseServerLoginModule for a Swing application connecting to JBoss 4.0.5. Our application is using stateless session beans. Is there a built-in mechanism to LIMIT the number of users (concurrent or otherwise) in order to enforce some kind of licensing of our application? I appreciate this is a vast subject but just having a mechanism that could 'count' the number of users and reject a login if N users are already logged in would be great! Being stateless does not help in this case, but may be there is a JAAS module that does this... Any suggestion most welcomed, Many thanks Benoit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176080#4176080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Best way for dynamic configuration?
Hi, I just created a timer-bean running a custom job at a defined interval. This service is annotated with @Service and @Management, so that it is startable/stoppable via the JMX-Console. Now I would like to add some properties that can be changed by the user - for example the interval between two timeouts etc - and does not need any repackaging or redeploying of the application. So what would be the recommended way for this configuration? Configuration file? Database-values? MBeans? Preferably it would be great if I can simply inject these properties from somewhere into my EJB - but this is not a must. Any ideas about this - probably very common requirement - would be greatly appricated. Thanks Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176075#4176075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - deployment of ear containing jars + sar
Hi together. I try to deploy an ear containg 1 sar and multible jars. I try the follwing structure of the ear: app.ear | |--- META-INF | | | |--- application.xml | | | |--- jboss-app.xml | |--- lib | | | |--- lib1.jar | |--- lib2.jar | |--- . | |--- service.sar The MBean Interface of the sar package using classes of f.e. lib1.jar. During deployment I got a ClassNotFoundException of this class. My jboss-app.xml: | |com.example:archive=app.ear | |service.sar | | | My application.xml: | | http://java.sun.com/xml/ns/j2ee"; version="1.4" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";> | my ear application | | lib | | Then I appended all libs to the manifest of the service.sar | Classpath lib1.jar lib2.jar ... | The same error... Then I added the following settings to my application.xml: | | service.sar | | Always the same... The only way it works I found is to append all jar-files directry to the sar-file. But that is not exactly what I want, because the jars should be later shared by other modules in the ear. So, is there a common way to do that. Thanks for help.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176073#4176073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task timer and TaskInstance.dueDate field
True, I understand the current implementation but in my view functionally they shouldnt be different things. I feel you need to be able to have them to be the same thing i.e. when a task has a deadline(duedate) I would like to have the process instance be able to do two optional things: 1. escalate via a transition to another step in the process whilst deleting the original task 2. send an escalation message as a sort of notice therefore taking a transition out of the node but leaving the task sit where it is to just notify someone the task is now overdue. The above scenario seems pretty common in commercial tooling and I am kinda strugling to fit this into jBPM I guess.. Greetz Leo "kukeltje" wrote : task due date and timer due date are 2 different things, even when used on a task. So therefor the task duedate is empty even though there can be a timer with a duedate. We cannot automatically fill it with the duedate of a timer since that can be a very different thing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176069#4176069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Swimlane assignment - h e l p m e !
Hi all jbom users, I'm developing a trouble ticketing interface with jBpm. I have 2 swimlanes: the manager and the developer. I would need to assign the actorId of each task depending on the value of a Context variable. I have saved in the context variable "manager" and "developer" the person who are in charge to supervision and develop the ticket. | | | | | | | | | | | | . | | | | | | | . | Unfortunately I get "null" when I recall taskInstance.getActorId() so assignment doesn't work this way.. any help ? thanks john View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176067#4176067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Are there any customers who are using the JBoss Community Ed
Hi, Can any one advise me / tell me are there any customres/customers list in real time, who are using the JBoss community edition ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176066#4176066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - jms connection could not be released by jboss after the clie
We have one JbossAS(a cluster with 3 nodes which jms server is deployed on one of them) running on Solaris 10(named Server-A). There is a client program on a pc(named Client-B) which receives JMS messages from the Jboss on Server-A(through topic). We have 2 NIC(network interface Card) on Client-B whose ips are 192.166.32.* and 172.30.2.*. When the Client-B starts, we establish one Jms connection with the jboss on Server-A. In most of time, all the client and the server side works fine(the client can receive messages from the server and no messages were blocked on topic). but in recent days we found that the Client-B could not receive messages from Server-A(the jboss on Server-A works fine all the time) occasionally. In some time, a large numbers of messages on the topic which the client received messages from were blocked. We also found that the ConnectionEndPoint could not be released by the jboss on Server-A because we found the ConnectionEndPoint was still there after we terminate the client program. We observed this by the following(using jboss web-console, using ServerPeer.showActiveClientsAsHTML()): | ID HostUser #Sessions | ConnectionEndpoint[wk-adbbg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 16 | ConnectionEndpoint[6n-3b6dg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 0 | ConnectionEndpoint[do-n48dg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 16 | ConnectionEndpoint[9n-hd6dg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 2 | ConnectionEndpoint[tk-xfabg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 0 | ConnectionEndpoint[tn-6o6dg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 2 | ConnectionEndpoint[w-6hune0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 0 | ConnectionEndpoint[1m-rpzcg0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 16 | ConnectionEndpoint[k-oprne0lf-1-6wome0lf-2nqd0q-g2us4] 172.30.2.16 null 2 | Just one day ago, we found the connection called onException() (we registered a listener by using connection.setExceptionListener() ) almost every 20 seconds. giving the following stack trace: javax.jms.JMSException: Failure on underlying remoting connection | at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:102) | at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:561) How this happened? Could anyone knows what had happened with jms connection? Normally when we close a jms client program the corresponding ConnectioinEndPoint will be closed by the jboss too after a certain seconds. But we didn't see this happened. the ConnectionEndPoint is still there. As we closed the client more times, there are more and more ConnectionEndPoints unclosed by the jboss. We don't know how this happened and we doubted that the 2 NIC caused aforementioned problem. But how to solve the problem without pulling out one of the NIC? Please help. Some other information may be useful to solve this problem. 1. from the server's point of view, the client ip 172.30.2.* is unreachable through ping command. and the client ip 192.166.32.* is reachable through ping command. 2. we get the ip 172.30.2.*(which is unreachable from server side) when using InetAddress.getLocalHost().getHostAddress() on the client side. 3. In most time the connection between the client and the server works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176063#4176063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)
Thanks again, i think we are getting somewhere... :) OK, here goes. I have tried two methods. As mentioned i deploy using JPDL so i don't really know what my .par is named and what happens to it, but it shouldn't matter... ?.par -first.xhtml -forms.xml -gpd.xml -processdefinition.xml -processimage.xml -clh.java (package) --calc.java -org.me.calculator (package) --Add.java --AddResponse.java --CalculatorWS.java --CalculatorWSService.java --MessageActionHandler.java --ObjectFactory.java --package-info.java I built a jax.war (zipped the mentioned files below and renamed to war). Then put it in the "jbpm-jpdl-3.2.3\deploy" dir. deploy -jax.war --activation.jar --jaxb1-impl.jar --jaxb-api.jar --jaxb-impl.jar --jax-xjc.jar --jboss-jaxws.jar --jse173_1.0_api.jar This results in the err anonymous wrote : Cannot load service endpoint interface: org.me.calculator.CalculatorWS Right after "Debug:2". This is printed in the web-server but the webinterface returns anonymous wrote : Information | Variables updated | Task completed So i think this is close... If i remove my .war file i get the exact same result so you must be right is a classloader issue... Looking for the right solution since i don't know if i did my .war correctly i have tried putting all the JAR-files in the classpath (edited the run.bat so it imports them) So my startup of the jboss server says: anonymous wrote : === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server | | JAVA: C:\Program Files\Java\jdk1.5.0_16\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.g | cInterval=360 | | CLASSPATH: C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\activation.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\j | axb1-impl.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\jaxb-api.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\ja | xb-impl.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\jaxb-xjc.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\jbos | s-jaxws.jar;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\CP\jsr173_1.0_api.jar;C:\Program Files\Java\jdk1.5.0_16\lib\tools.ja | r;C:\Program Files\jBPM\jbpm-jpdl-3.2.3\server\bin\run.jar | | === This returns an error in the webinterface: anonymous wrote : description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.servlet.ServletException: Servlet execution threw an exception | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | root cause | | java.lang.NoClassDefFoundError: javax/xml/soap/FactoryLoader | javax.xml.ws.spi.Provider.provider(Provider.java:91) | javax.xml.ws.Service.(Service.java:83) | org.me.calculator.CalculatorWSService.(CalculatorWSService.java:47) | clh.java.calc.execute(calc.java:22) So with the first example i get to line 24 of my code (Debug:2) in the 2nd i get to line 22 which is where i create the service... See below: log.info("##"); | log.info("Debug:1"); | CalculatorWSService service = new CalculatorWSService(); //line 22 | log.info("Debug:2"); | CalculatorWS port = service.getCalculatorWSPort(); //line 24 | log.info("Debug:3"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176062#4176062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule
A (maybe not very good) way for getting client ip Thread.currentThread().getName() Name string is in format "someworkerthreadname#[127.0.0.1:1867]" and parse that string View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176056#4176056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Alternate .war deployment
"BobMcWhirter" wrote : | 1) Am I off-base thinking that the RailsDeployer could/should create a WebMetaData, for consumption by the typical .war deployer already baked into AS5? | That's one way of doing it. You can either pick-up the WMD we already create and fill it with your info. Or you can have Rails predetermined WMD and then check what exactly we do with merging. "BobMcWhirter" wrote : | 2) If I can create a WebMetaData, what stage should it occur? My RailsDeployer basically parses a deploy/myapp.rails file, and I've tried the PARSE stage. | As long as it's soon enough. Dunno what soon enough is in your case. But definitely before WMD get's used in REAL stage. ;-) "BobMcWhirter" wrote : | 3) If I should create a WebMetaData, should I attach it as an attachment to the VFSDeploymentUnit my RailsDeployer is handed? | Yes. But, like I already said, you have different scopes of attachments. Pick the one that suites your purpose best. e.g. predetermined, transient, transient-managed, ... "BobMcWhirter" wrote : | 4) Can you point to information about classpath semantics between deployers and things-they-deploy? My jboss-rails.deployer deployer jarfile contains a jruby.jar, which I'd like to be available to anything it deploys. I was hoping I could provide it (and other jars) via the MetaData. This is one of the bits I feel I'm missing by calling MainDeployer.deploy(...) and process() directly, instead of using the MetaData functionality. | This looks to me like Seam-int functionality I just did: - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamUrlIntegrationDeployer.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176043#4176043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Alternate .war deployment
"BobMcWhirter" wrote : | Hiya Guys-- | | As ya know, I'm working on deploying Rails apps on JBossAS. At this point, my RailsDeployer constructs a synthetic VirtualFile, stitching together a .war from a Rails directory and a generated web.xml. (VFS is one freakin' cool project, very nice!) | | It then sends it to the MainDeployer during the REAL deployment stage and calls process(). | | It seems that I lose the link between the deploy/myapp.rails (my deployable file, which is just a pointer to a Rails app directory elsewhere) and the synthetic .war I created. | | And I keep seeing the nifty WebMetaData and JBossWebMetaData, but I'm not using any of. | | My initial thought was to have my RailsDeployer construct a WebMetaData, which WARStructure or TomcatDeployer could pick up and run with. By handing a virgin VirtualFile tree to the MainDeployer, I feel like I'm perhaps missing out on some cool MC functionality, and not having all the control over the classpath etc that I'd like to have. | | I know Newton's still working on the guides, etc, but was hoping y'all could give me a pointer or two. | | So, my questions... | | 1) Am I off-base thinking that the RailsDeployer could/should create a WebMetaData, for consumption by the typical .war deployer already baked into AS5? | | 2) If I can create a WebMetaData, what stage should it occur? My RailsDeployer basically parses a deploy/myapp.rails file, and I've tried the PARSE stage. | | 3) If I should create a WebMetaData, should I attach it as an attachment to the VFSDeploymentUnit my RailsDeployer is handed? | | 4) Can you point to information about classpath semantics between deployers and things-they-deploy? My jboss-rails.deployer deployer jarfile contains a jruby.jar, which I'd like to be available to anything it deploys. I was hoping I could provide it (and other jars) via the MetaData. This is one of the bits I feel I'm missing by calling MainDeployer.deploy(...) and process() directly, instead of using the MetaData functionality. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176041#4176041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problem with Portal and ESB install
Try with 2.7, it uses an upgraded jbpm lib (3.2.2). Secret location of the CR1 just for you ;) https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509&release_id=625760 (released last night, i'll do the announcement today) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176038#4176038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: EJB3 timer and cluster behaviour (JBoss 5.0.0)
Hi wdfink I recently implemented the exact same thing with JBoss EAP v4.2-CP02. http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-jms-loadbalanced I did the following: On each JBoss machine, replaced DefaultDS to a real, external database. By default, JBoss uses HSQLDB internally, and ofcorse, this is not common between multiple instances of JBoss on different machines. See section 16.6.1.1 of the above doc for instructions on how to do this. In the jboss.xml of my war file, i added: | | BlahMDB | jboss.ha:service=HASingletonDeployer,type=Barrier | | I then deploy the ear file containing this war file to the farm directory. What I saw was that all clusters installed BlahMDB, but only one cluster actually started it, (and the assocated timers it has). I configured BlahMDB to tick every 30seconds, then create a new one, and tick 30seconds later. So, this timer was ticking on only one instance of the cluster. When i killed JBoss on that instance, the ticks would automagically resume on some other node in the cluster. Hope this helps! -Daniel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176037#4176037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Question about feature request - deploy.first
How is your application packaged? EAR, WAR or JAR? And which version of JBoss are you using? Please provide more details about your application. That might help in understanding what you are trying to do. P.S: Looks like you are in the wrong forum. You should have posted this in the Installation and Configuration forum http://www.jboss.com/index.html?module=bb&op=viewforum&f=61 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176036#4176036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user