[JBoss Web Services] New message: "Failures in some of the Jboss WS test cases"
by Greg Swanson
User development,
A new message was posted in the thread "Failures in some of the Jboss WS test cases":
http://community.jboss.org/message/519164#519164
Author : Greg Swanson
Profile : http://community.jboss.org/people/swag01
Message:
--------------------------------------------------------------
Hi all;
I am trying to run the jboss web services test cases (using the native version) and several are failing with the following error (Any idea what is wrong?):
I searched all over the internet and can't seem to find the reason for this. I'm guessing that it's trying to store something in a directory but doesn't have permissions.
I appreciate your help!
Thanks
Testsuite: org.jboss.test.ws.jaxws.samples.logicalhandler.LogicalHandlerJAXBTestCase
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.766 sec
Testcase: testClientAccess took 0.191 sec
Caused an ERROR
javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:155)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:293)
at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:146)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:117)
at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111)
at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
at javax.xml.ws.Service.create(Service.java:680)
at org.jboss.test.ws.jaxws.samples.logicalhandler.LogicalHandlerJAXBTestCase.testClientAccess(LogicalHandlerJAXBTestCase.java:52)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:441)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:179)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:129)
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1792)
at org.jboss.ws.metadata.wsdl.xsd.SchemaUtils.getSchemaTempFile(SchemaUtils.java:539)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:583)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:432)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519164#519164
14 years, 5 months
[Javassist] New message: "method instrumentation approaches - which is best?"
by Arvind K
User development,
A new message was posted in the thread "method instrumentation approaches - which is best?":
http://community.jboss.org/message/519161#519161
Author : Arvind K
Profile : http://community.jboss.org/people/megalodon
Message:
--------------------------------------------------------------
Hello All,
I am sort of new to Javassist and have a design question which has probably been already discussed. I couldn't search and look for the discussion though due to no search facility as far as I could see. Anyway, to state my question,
I don't know which instrumentation methods to choose for which situations when it comes to instrumenting many methods in an application during load time. I have 2 approaches in mind:
1. Performing instrumentations directly in the methods using functions like insertBefore(), insertAfter(), addCatch() etc.
2. Renaming name of original method (say, original name) to some unique name (possible conflict issues here), creating a dummy method with the original name, perfoming all insrumentation in dummy method and calling the original method from the dummy.
Approach 1 seems to be easier to implement and would perhaps use less resources - no new to create new methods for every instrumented method, no need to make 2 method calls for each original method call and no need for the JVM to store additional method information for the dummy method. We need to create local variables to store any state between insertBefore() and insertAfter() since we cannot access existing local variables and it is not wise to use instance variables for load time instrumentation.
Would love to hear your opinions. Thanks.
-Arvind
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519161#519161
14 years, 5 months
[jBPM] New message: "Re: JBPM4 in an Enterprise Environment"
by Ganesh Gowtham
User development,
A new message was posted in the thread "JBPM4 in an Enterprise Environment":
http://community.jboss.org/message/519160#519160
Author : Ganesh Gowtham
Profile : http://community.jboss.org/people/grgowtham
Message:
--------------------------------------------------------------
Dear All
*I have issue in deploying JBPM4 .1 in Webloic 10.3*
I Had changed all confiuration files including hibernate files , weblogic xml, JMS files also I had created the Datasource and update respective xmls .
In JBPM 4.1 we have
* gwt-console-server.war
* jbpm-console.war
* jbpm-enterprise-beans.jar
I am wondering How can i deploy these files in weblogic ?
A) jbpm-enterprise-beans.jar is EJB module and rest 2 are war ,Do i need to create the EAR file with these 3 archives and deploy ?
B) Do i need deploye jbpm-enterprise-beans.jar as EJB and rest 2 applications as sepearte WAR ?
Please suggest whether i need to follow method (A) or (B) , if you have anmy remarks in my idea .
Please let me know ur view on how to deploy apps .
Thanks in Advance
Ganesh Gowtham
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519160#519160
14 years, 5 months
[jBPM] New message: "Re: ProcessEngine.close() in jBPM 4 javadocs but not in sour"
by Ganesh Gowtham
User development,
A new message was posted in the thread "ProcessEngine.close() in jBPM 4 javadocs but not in source c":
http://community.jboss.org/message/519159#519159
Author : Ganesh Gowtham
Profile : http://community.jboss.org/people/grgowtham
Message:
--------------------------------------------------------------
HI Martin ,
Thanks for quick reply .
I Had changed all confiuration files including hibernate files , weblogic xml, JMS files also I had created the Datasource and update respective xmls .
In JBPM 4.1 we have
* gwt-console-server.war
* jbpm-console.war
* jbpm-enterprise-beans.jar
I am wondering How can i deploy these files in weblogic ?
A) jbpm-enterprise-beans.jar is EJB module and rest 2 are war ,Do i need to create the EAR file with these 3 archives and deploy ?
B) Do i need deploye jbpm-enterprise-beans.jar as EJB and rest 2 applications as sepearte WAR ?
Please suggest whether i need to follow method (A) or (B) , if you have anmy remarks in my idea .
Please let me know ur view on how to deploy apps .
Thanks in Advance
Ganesh Gowtham
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519159#519159
14 years, 5 months
[JBoss Tools] New message: "Usable Smook Editor"
by John Pount
User development,
A new message was posted in the thread "Usable Smook Editor":
http://community.jboss.org/message/519152#519152
Author : John Pount
Profile : http://community.jboss.org/people/jpount
Message:
--------------------------------------------------------------
Just wondering what the best version of JBT would be to get a usable Smook Editor - I just want to do relatively simple XML to Java, Java to XML, XML to XML type transformations using a GUI mapping editor.
I am using Eclipse Galileo SR1 and 3.1.0.M4 of JBT but cannot see where to do mappings (which is probably a user error) - I can add input files, then presumably I need to add an entry for the mapping..... I can't find any relevant quick starts.
I also tried the latest nightly build and that has a different UI but I cannot get past the java mapping section as I cannot find where you load/specify the Java class.
Is there a recommended milestone/nightly build that anyone is using to do something like this?
Sorry for the vague details.
Thanks.
h3.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519152#519152
14 years, 5 months
[jBPM] New message: "Re: JBPM4 in an Enterprise Environment"
by Ronald van Kuijk
User development,
A new message was posted in the thread "JBPM4 in an Enterprise Environment":
http://community.jboss.org/message/519150#519150
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
There are known issues where the jndi name is not 'correct', but that is on e.g. Weblogic servers and not on JBoss AS (which I think from the first post you are running).
I've not used the enterprise timers myself, just the jobscheduler. From my experience (and that of others) it has not been a cause of a high serverload. The number of threads is limited. So it might be one (or more) of your jobs that put a high load on the server.
In addition to the code itself, there are enterprise tests afaik in the source , maybe those can help as well.
Sorry I can't be of anymore help.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519150#519150
14 years, 5 months
[jBPM] New message: "Re: JBPM4 in an Enterprise Environment"
by None Ya
User development,
A new message was posted in the thread "JBPM4 in an Enterprise Environment":
http://community.jboss.org/message/519147#519147
Author : None Ya
Profile : http://community.jboss.org/people/xero314
Message:
--------------------------------------------------------------
Thanks for the response,
The application is not yet in a production environment. It was in QA that we discovered a problem with jboss freezing when the job executor was attempting to process existing timer jobs, at start up. After some research this does not appear to be an issue with jBPM but is exacerbated by the load produced by jBPM. We believed this could be in part due to the JobExecutor spawning threads rather than utilizing the j2ee components to handle the multithreading aspect. It was at this point that I discovered that the default jboss install (or the jbpg config from the jboss install) does not seem to utilize the j2ee components, event though it installs them. Either way I would like to be able to utilize the j2ee components. Since I couldn't find a reference on how to utilize the installed enterprise beans I had to dig through the code to figure it out.
So to answer your question, I have upgraded to 4.3 but have not been able to test the j2EE configuration yet. I really was hoping to find some guidance as to what is the correct way to integrate the j2ee components (Timers and CommandExecutor) since the code implies one way (target="ejb") which appears to having some missing components, and the other way (ejb-timer-sesion, etc.) does not appear to be working with our configuration (again not that the jbpm.sar and jbpm-enterprise.jar are included in an ear, and not stand alone deployments).
My most recent though was that having the sar and ejbs inside an ear was causing some problem with the jndi look, so I wanted to know if anyone knew of this issue coming up in the past and if there is a solution.
One thing to note, and I don't think this is an issue, but I should point it out. I do not currently have the jBPM deployer operating (again trying to just have a single ear deployment) so the jbpm-enterprise.jar is not being processed by the jbpm deployer, but I can't imagine that is a problem as I beleive the jbpm deployer is for the deployment of .bar archives.
So I will attempt to see how things run under jBPM 4.3, since I was finally able to get our app running using it (had to update some custom configurations used for unit tests). I didn't see anything in 4.3 that would reslove the jndi lookup issue (but I'm not really sure as jBPM hides the NamingException that is the root of the issue.), but I will give it a try.
Thanks again for the time and assistance.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519147#519147
14 years, 5 months