[Beginner's Corner] - Desperate for some documentation...please?
by Ken Kopelson
Ken Kopelson [http://community.jboss.org/people/kenbkop] created the discussion
"Desperate for some documentation...please?"
To view the discussion, visit: http://community.jboss.org/message/535477#535477
--------------------------------------------------------------
I am new to JBoss and am having trouble getting a simple Web Service working under Eclipse. The main problem I am having is getting solid documentaiton that is complete and accurate. I have two eBooks, one JBoss in Action, and JBoss AS 5 Development, but neither provides up-to-date information or examples that work. I installed JBoss AS 5.1 and then followed the instructions provided in all the various examples I could find, and I keep getitng errors like "Invalid Port Type" or such things as that. All the examples have values in their various annotations or XML config files that are not clearly documented, and the documentation that I can find it either out-of-date, sparse with no explanations, or incomplete.
Even the example provided in the JBoss documenation is incomplete since it only shows Java code for the class of a EJB and not the interface. The interface is important to show since it requires some annotations also (apparently) because it is the interface name that is referenced in the WSDL, not the class... at least that is how it appears.
What I really need is:
1) A good example of a simple EJB Web Service, including the class, the interface, the web.xml, and any and all other configuration informations. It should be clear about how things should be named, such as the end points, the SOAP type, the WebService annotation options like "name", "ServiceName" etc. This is really where the problem is because I found that somebody else was having the same trouble as me (on google) and they said in their forum post "I changed the names to such-and-such and it fixed the problem" but then no explanation as to why it then worked. A single, tested, complete example of a working WebService (hello world) that documents any assumptions about the environment (such as endpoint URL) and also provides a little discussion about options that can be chosen, would be very useful and helpful.
2) Some up-to-date documenation that gives tangible and complete examples of how things should be done with the new AS 6. It seems that most documentation assumes that people already know JBoss, or have been using it for years, or are already familiar with all the new terms, etc. It seems that the books out there are either out-of-date or not very complete.
Please help... I need this for my job as soon as possible... many thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535477#535477]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
Re: [jboss-user] [jBPM] - Asynchronus execution error
by ABIDI Sami
ABIDI Sami [http://community.jboss.org/people/uaibys] replied to the discussion
"Asynchronus execution error"
To view the discussion, visit: http://community.jboss.org/message/535466#535466
--------------------------------------------------------------
Hi Huisheng,
Thank you for this explanation, but deploying a zip archive containing classes didn't add any deployment in jbpm database, and no process was deployed. So I am not sure that I did this deployment correctly : I took all the packages of class files containing th process and all classes and i executed the zip deployment code, but that didn't add any deployment to the jbpm database. Is that the correct way you meant??
I would like to know also if the deployment with ant can deploy classes, I tried that but I don't know if my ant file is good or not, because program couldn't load the class either.
My ant file is the same as the examples of jbpm installation one, but I added these elements :
<path id="jbpm.libs.incl.dependencies">
<pathelement location="${jbpm.home}/eclipse/workspace/PETest1/target/classes" />
<fileset dir="${jbpm.home}">
<include name="jbpm.jar" />
</fileset>
<fileset dir="${jbpm.home}/lib" />
</path>
<jar destfile="${jbpm.home}/eclipse/workspace/PETest1/target/PETest1.bar">
<fileset dir="${jbpm.home}/eclipse/workspace/PETest1/src">
<include name="**/*.jpdl.xml" />
</fileset>
</jar>
<taskdef name="jbpm-deploy"
classname="org.jbpm.pvm.internal.ant.JbpmDeployTask"
classpathref="jbpm.libs.incl.dependencies" />
<jbpm-deploy file="${jbpm.home}/eclipse/workspace/PETest1/target/PETest1.bar" />
also I replaced all the directories by the new ones.
Is that correct? ... What should be the problem according to you??
Thanks ;)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535466#535466]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[JBoss Tools] - jboss kb project validator
by nimo stephan
nimo stephan [http://community.jboss.org/people/nimo22] created the discussion
"jboss kb project validator"
To view the discussion, visit: http://community.jboss.org/message/535459#535459
--------------------------------------------------------------
I am using JBT 3.1 final and there are problems with the *jboss kb project validator.*
every second it starts to validate anything and does not stop the validation - it slows down all the working!
Even when I go to cancelling the process, it does run furthermore and does not stop.
When I close the IDE and start it again, the jboss kb validator validates also files which were not changed before.
*It would be better,*
*when the validator validates only files which was changed and not all files which was validated by the validator before.*
(The validator slows down everything, it goes nearly to a heap space of approx. 500 MB on a 2GB RAM Machine)
Where can I switch the validator off? Is it enough to unmark the build.xml called KB-Builder.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535459#535459]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months