[JBoss Web Services] - Exceptions during perfomance testing
by Marcin Bednarek
Marcin Bednarek [http://community.jboss.org/people/smile24] created the discussion
"Exceptions during perfomance testing"
To view the discussion, visit: http://community.jboss.org/message/587099#587099
--------------------------------------------------------------
Hello,
In my application I invoke external webservices. During performance tests when application is under heavy load I am receiving below exceptions:
Caused by: SystemUnavailableException_Exception: unknown exception caught
at sun.reflect.GeneratedConstructorAccessor368.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at org.jboss.ws.metadata.umdm.FaultMetaData.toServiceException(FaultMetaData.java:383)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:143)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)
at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy622.append(Unknown Source)
----------------------------------------------------------------------------------------------------------------------------------
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:110)
at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:78)
at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:58)
at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:179)
at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:96)
----------------------------------------------------------------------------------------------------------------------------------
Caused by: java.lang.NullPointerException
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:274)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:314)
----------------------------------------------------------------------------------------------------------------------------------
Caused by: java.lang.NullPointerException
at org.apache.xerces.dom.ParentNode.nodeListItem(Unknown Source)
at org.apache.xerces.dom.ParentNode.item(Unknown Source)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:314)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:293)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:244)
at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:71)
... 413 more
This looks like issue with deserialization however I see it only during perfomance tests for random requests.
I am using jboss 4.2.2 with JBossWS 3.0.5.
Could you give me any hint what I should do to handle those exceptions?
Thanks,
Marcin
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587099#587099]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[Datasource Configuration] - mysql javax.naming.NameNotFoundException
by pippodev
pippodev [http://community.jboss.org/people/pippodev] created the discussion
"mysql javax.naming.NameNotFoundException"
To view the discussion, visit: http://community.jboss.org/message/587063#587063
--------------------------------------------------------------
I have the error javax.naming.NameNotFoundException: prova not bound
my mysql-ds.xml:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>prova</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/prova</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>root</password>
<!-- should only be used on drivers after 3.22.1 with "ping" support
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
-->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
"prova" is in the java: namespace but not in the Global JNDI Namespace
h1. java: Namespace
[.....]
+- prova (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- timedCacheFactory (class: javax.naming.Context)
I'm using jboss-5.0.1.GA
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587063#587063]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM] - jBPM 5 GA guvnor/designer subprocess support
by byungwoojun
byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion
"jBPM 5 GA guvnor/designer subprocess support"
To view the discussion, visit: http://community.jboss.org/message/587012#587012
--------------------------------------------------------------
Last Friday (2/4/11), I downloaded and installed the latest jBPM 5 GA. Using the guvnor console integrated designer (I assume it is Oryx-based), I created a new BPMN 2-based process flow. In the flow, I added Expanded and Collapsed Subprocesses into my diagram. After saving and closing the diagram, I reopened it, but all the subprocesses that I just added disappeared.
My JBoss AS log file showed an error, "No enum const class com.intalio.bpmn2.impl.Bpmn20Stencil.Subprocess." I looked at the Bpmn20Stencil.java source code and confirmed that there is no subprocess enum support in the code.
So, here are my questions. Does the jBPM 5 GA guvnor/designer support any type of subprocesses? If not, is there any plan for adding the missing activity types? Or, did I just set up the jBPM 5 GA incorrectly?
Any help will be appreciated.
Thanks,
bwj
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587012#587012]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM] - jBPM 5 GA gunvor / designer subprocess support
by byungwoojun
byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion
"jBPM 5 GA gunvor / designer subprocess support"
To view the discussion, visit: http://community.jboss.org/message/587011#587011
--------------------------------------------------------------
Last Friday (2/4/11), I downloaded and installed the latest jBPM 5 GA. Using the guvnor console integrated designer (I assume it is Oryx-based), I created a new BPMN 2-based process flow. In the flow, I added Expanded and Collapsed Subprocesses into my diagram. After saving and closing the diagram, I reopened it, but all the subprocesses that I just added disappeared.
My JBoss AS log file showed an error, "No enum const class com.intalio.bpmn2.impl.Bpmn20Stencil.Subprocess." I looked at the Bpmn20Stencil.java source code and confirmed that there is no subprocess enum support in the code.
So, here are my questions. Does the jBPM 5 GA guvnor/designer support any type of subprocesses? If not, is there any plan for adding the missing activity types? Or, did I just set up the jBPM 5 GA incorrectly?
Any help will be appreicated.
Thanks,
bwj
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587011#587011]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[JBoss Tools] - maven and jboss hot deployment does not work correctly
by nimo stephan
nimo stephan [http://community.jboss.org/people/nimo22] created the discussion
"maven and jboss hot deployment does not work correctly"
To view the discussion, visit: http://community.jboss.org/message/586884#586884
--------------------------------------------------------------
I use maven with jboss tools 3.2 cr1 and the hot-deployment does not work correctly.
When deploying after a mvn-rebuild, the source-folders are all empty only the static-resources are deployed. I looked in my target-folder after build and all sources are correctly there, but rf tools does not transport it. A full publish does not make any changes - source folders are empty in my deploy-dir. When deleting the war manually and stopping the server and republish again, then it works - but not very time-friendly. By the way, when stopping the server while hot-deploying a resource via jboss tools, my server hangs so long and so the eclipse gui - it hangs often more than a few minutes. Why is that so? I only have a little war file (~3mb) deployed and nothing more in my local deploy-dir.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586884#586884]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM] - jbpm 5 GA guvnor / designer subprocess support
by byungwoojun
byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion
"jbpm 5 GA guvnor / designer subprocess support"
To view the discussion, visit: http://community.jboss.org/message/586999#586999
--------------------------------------------------------------
Last Friday (2/4/11), I downloaded and installed the latest jBPM 5 GA. In the guvnor console, I created a new process (BPMN 2) in the integrated designer (I guess it is Oryx-based). When I tried to add the Expanded and Collapsed Subprocesses into my diagram. After saving the diagram, I reopeded it, but the all the subprocesses I added disappeared.
According to the JBoss AS log file, it got the "No enum const class com.intalio.bpmn2.impl.Bpmn20Stencil.Subprocess" error. I looked at the Bpmn20Stencil.java and confirmed that there is no subprocess enum. So, here is my question. Does the jBPM 5 GA guvnor / designer support any type of subprocesses? If not, is there any plan for adding the missing activity types? Or, simply did I set up the jBPM 5 GA incorrectly?
Any help will be appreicated.
Thanks,
bwj
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586999#586999]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months