[JBoss-user] [JBoss jBPM] - Was the .par extension removed from jbpm?
The .par extension does not show up in eclipse when a jbpm project is created. Process simple does not say simple.par as shown in the wiki page: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted. Is that intended? Also was the folder src/processes changed to processes. Is that intended? Thank you. andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955116#3955116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955116 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - HelloTest NullPointer Exception
Hello all, I am running the tutorials in A Guided Tour of JBoss jBPM GPD. In chapter 3, Test Driven Process Development, rRunning the JUnit test results in a NullPointerException on line 12. Do I need to set a location anywhere to point to the process definition xml file? Any help to to get me past this is appreciated. Here is the error when Running JUnit from Eclipse. It looks to me like it can't find the process defininition XML file. java.lang.NullPointerException at java.io.Reader.(Unknown Source) at java.io.InputStreamReader.(Unknown Source) at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:136) at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:128) at com.jbay.HelloTest.testProcess(HelloTest.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Listed below is the source for HelloTest. line 12 is where the instance definition is instantiated. package com.jbay; import org.jbpm.graph.def.ProcessDefinition; import org.jbpm.graph.exe.ProcessInstance; import junit.framework.TestCase; public class HelloTest extends TestCase { public void testProcess() throws Exception { //create a jBPM process archive object is created ProcessDefinition definition = ProcessDefinition.parseXmlResource("hello/processdefinition.xml"); //line 12 assertNotNull("Definition should not be null", definition); ProcessInstance instance = new ProcessInstance(definition); assertEquals ("Instance= start state", instance.getRootToken().getNode().getName(), "start"); instance.signal(); assertEquals( "Instance= auction state", instance.getRootToken().getNode().getName(), "auction"); instance.signal(); assertEquals( "Instance= end state", instance.getRootToken().getNode().getName(), "end1"); assertTrue( "Instance has ended", instance.hasEnded()); } } Listed below is the XML for the process definition ?xml version="1.0" encoding="UTF-8"?> http://jbpm.org/3/jpdl"; name="jbay"> out of curiosity, why don't I see the .par extension in eclipse. is any other diagnostic information needed? Thank you in advance for your help. - andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955088#3955088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955088 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)
Dimitris, Sorry to say that JDK 1.5 is being used on both ends. Thanks for the help. I will open a defect report and look forward to seeing the fix soon. thank you - Andy Gordon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918160#3918160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918160 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)
Staff at JB\oss, SInce I haven't received a response that tells me how to either: 1) circumvent the problem and gain access to MBeanInfo for allJBoss MBean attributes thru RMI 2) Enter the problem in JIRA, I plan to enter the problem in JIRA tomorrow unless told otherwise. I am certainly open to suggestions. Thank you. - Andy Gordon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917977#3917977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917977 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)
Dimitris, Thank you for the quick response. If you don't mind I'd like to inquire into what "probably" means. I also am interested in understanding my choices for accessing this MBean as well as others. The same error occurred running Twiddle attempting to access the deploymentScanner MBean. twiddle info "jboss.deployment:type=DeploymentScanner,flavor=URL" BTW: in my java program I tried: " public class JMXBrowser implements java.io.Serializable" to received the following exception: java.io.NotSerializableException: org.jboss.mx.util.MBeanProxyExt What do you suggest as next steps? Thank you Andy Gordon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917357#3917357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917357 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - notSerializableException, (may relate to JBAS-1268)
Hi All, Listed below is a cut and paste of the exception I received from running Twiddle with JBoss-4.0.3. JBAS-1268 looks like the same problem but is reported to have been fixed in 4.0.2. With 4.0.3 I get the same exception when running twiddle. Running it both ways as described below yields the same exception: ex 1: twiddle info "jboss:service=Naming" ex 2: twiddle -s localhost:1099 info "jboss:service=Naming" what caused me to try twiddle is that the exception surfaced while attempting to access getMBeanInfo for the above MBean in my java program, remotely attempting to access JBoss using jnp. Do you have any idea of what I am missing in order to access the above mentioned MBean? Or is this a defect and needs to be reported? Thank you - andy C:\jboss-403\jboss-4.0.3SP1\bin>twiddle -s localhost:1099 info "jboss:service=Naming" JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. 07:21:59,885 ERROR [Twiddle] Exec failed java.io.NotSerializableException: org.jboss.mx.util.MBeanProxyExt at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.HashMap.writeObject(HashMap.java:985) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135) at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512) at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418) at javax.management.modelmbean.DescriptorSupport.writeObject(DescriptorSupport.java:1392) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:380) at javax.management.modelmbean.ModelMBeanAttributeInfo.writeObject(ModelMBeanAttributeInfo.java:536) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.rmi.MarshalledObject.(MarshalledObject.java:92) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:410)
[JBoss-user] [Management, JMX/JBoss] - Re: Exception in thread
Dimitris, Thank you, Twiddle.bat provided the guide I needed. All resolved. - andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917138#3917138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917138 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Exception in thread
Hi All, Hopefully someone will be able to clue me in to how to resolve this problem. Supposedly it was fixed by JBAS-1787 but it doesn't look like it to me. I am trying to query and get mbeanInfo for all mbeans in JBoss using RMI. I get an nullPointerException when I attempt method getMBeanInfo for an mbean that has a DOM element. The exception occurs when trying to access mbean jboss.jca:service=ManagedConnectionFactory,name=DefaultDS Exception in thread "main" java.lang.NullPointerException at javax.management.modelmbean.DescriptorSupport.readObject(DescriptorSupport.java:1354) This is extremely easy to recreate, all you have do is download and start JBoss and run the code below from an IDE. The code I am using is as follows: import java.util.Iterator; import java.util.Set; import javax.management.*; import javax.naming.InitialContext; public class JMXBrowser implements java.io.Serializable { public static void main(String[] args) throws Exception { InitialContext ic = new InitialContext(); MBeanServerConnection mbsc = (MBeanServerConnection) ic.lookup("jmx/invoker/RMIAdaptor"); ObjectName oname = new ObjectName ("*:service=ManagedConnectionFactory,*"); Set setOfJbossMbeans = mbsc.queryNames(oname, null); Iterator it = setOfJbossMbeans.iterator(); while( it.hasNext() ) { ObjectName on = (ObjectName) it.next(); MBeanInfo mbi = mbsc.getMBeanInfo(on); } } } I am running JBOSS 4.03SP1 on Windows XP (it also occurs on Red Hat Linux) which I just downloaded to see if the fix actually works as described in JBAS 1787. What seems to be missing in the description for the bug fix is the exact configuration needed resolve the problem (possibly with respect to the java options required when starting JBoss and the client side jars needed in the classpath). This is not fully described in the bug fix. The JBAS 1787 mentions that you need to have the following java option set: -Djava.endorsed.dirs=%JBOSS_HOME%\lib\endorsed. I noticed it at the bottom of under :restart in run.bat but is not set by default if needed. Why not? Thank you in advance for your help. - andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917073#3917073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917073 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Classes DomainData and MBeanData - What are they used for?
Would someone please explain the purpose of the classes DomainData and MBeanData. THey reside in the package org.jboss.jmx.adaptor.model. THank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888535#3888535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888535 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - What jar file contains org.jboss.jmx.adaptor.model.MBeanData
HI, I am trying to write a class that requiremees org.jboss.jmx.adaptor.model.MBeanData and I need to put the Jar file on my classpath. Where Jar file contains it? Also is there a cross reference table anywhere that relates classes, packages and Jar files? Thank you. - andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888178#3888178 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888178 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - where do all mbean attributes come from. Not all are defined
I am trying to understand where all attributes displayed on JMX console for a given MBean are sourced (come from). I am running the JBoss default server and am looking at the jboss-service.xml file in the default server's conf directory. For example, in the the Thread pool service, the attributes explicity defined in an MBean are: attribute name="Name">JBoss System Threads attribute> attribute name="ThreadGroupName">System Threads attribute> attribute name="KeepAliveTime">6 attribute> attribute name="MaximumPoolSize">10 attribute> attribute name="MaximumQueueSize">1000 attribute attribute name="BlockingMode">run attribute> The JMX console displays 10 attributes (listed below) while only 6 were defined above. PoolNumber . Instance KeepAliveTime QueueSize BlockingMode ThreadGroupName Name MaximumQueueSize MinimumPoolSize MaximumPoolSize THe question is Where do the other 4 come from? WHere are they defined? THank you in advance for the answer, - andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878920#3878920 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878920 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: where do all mbean attributes come from. Not all are def
please disregard and see the next post. thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878921#3878921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878921 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - where do all mbean attributes come from. Not all are defined
I am trying to understand where all attributes displayed on JMX console for a given MBean are sourced (come from). I am running the JBoss default server and am looking at the jboss-service.xml file in the default server's conf directory. The attributes explicity defined in an MBean such as: JBoss System Threads System Threads 6 10 1000 run only identify 6 of the 10 that are displayed by the JMX console (below) PoolNumber . Instance KeepAliveTime QueueSize BlockingMode ThreadGroupName Name MaximumQueueSize MinimumPoolSize MaximumPoolSize THe question is Where do the other 4 come from? WHere are they defined? THank you in advance for the answer, - andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878919#3878919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878919 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - enableing HSQL with MBEAN connections- is it either or?
is it either or? in-process or client-server meaning one or the other and not both being enabled at the same time in the hsqldb-ds.xml file. it looks like certain instructions are ommitted. What is the proper definition in the file for 4.1.71.1 in the getting started guide? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878101#3878101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878101 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user