[JBoss Web Services Users] - Unwanted warning
by ntsankov
Hi,
I have a WS client created with wsconsume, but I want to specify the service endpoint at runtime. The solution I found is:
| MyService stub = new MyService(null, SERVICE_QNAME);
| MyPortType myPort = stub.getMyPort();
| ((BindingProvider)myPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointUrlString);
|
which works ok, except that I get a
"WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: {http://ws...}MyPort"
in the log. I suppose this is caused by the fact that I pass null as wsdl location, but I don't want the client to parse the wsdl each time.
Can someone help me get rid of this warning? Maybe there is a better way to dynamically specify the endpoint?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253075#4253075
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253075
14 years, 8 months
[jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
by Nanaki
Oh... I see, that's what I though...
That's why i saw new workflow added into the jbpm-console when I deployed them (because they are just deployed in the DB, so I can see them once I launch the jbpm-console and use them).
I'm a little perplex knowing this... Because I read everywhere that the Workflow we draw can be include into a web application, and know, if I undestand how it works, it's not possible (or not easily).
I used jBPM with that goal:
anonymous wrote : 1) Draw a worflow into eclipse by using jBPM-JPDL plugin
| 2) Generate the workflow (and the .jsp source files needed to run it)
| 3) Integrate/Display these .jsp into our project (I have a Web Project in Java J2E technology, using Hibernate and Struts)
So my question will be like that:
anonymous wrote : 1) Are these 3 steps are possible with JBPM 3.x ?
|
| 2) If not, is it possible with the latest release (4.1 of the 1st September 2009) ?
So to be more simple, now I drawn the workflow.
By launching it on Jboss server, I saw that it generates a website in .jsp format (faces/home.jsp, faces/login.jsp, faces/task.jsp ... ...).
I'd like to take these pages (the .jsp generated) and integrate them in my own Web Java project.
My situation is like that:
anonymous wrote : I have in my website a template with 3 parts:
| 1) A header at the top;
| 2) A menu at the left;
| 3) And a blank jsp in the middle.
The final result I'd like is to replace the blank .jsp file by the workflow pages generated by Jboss. Is it possible ?
If it's not possible, I think that I really misunderstood what Jboss jBPM is.
Thanks a lot for your answers, it helps me a lot to understand the paradigm of Jboss JBPM.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253066#4253066
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253066
14 years, 8 months
[JBoss Tools Users] - rule traversal/execution order i drools
by shashank.rudra
Hi Guys
I have started to use Drools engine. I set it up in Eclipse using Jboss Tools package distribution. Now I am having difficulty understanding how to specify the rules, in the rule.drl files. Here are the points that I am mostly confused about
1. what is the order in which the rules are fired. (I have multiple rules defined in the same file.)
2. In case I want to put some rules in other rule file. How to load them in working memory and what will be order in which rules in these two separate files will run.
3. I don't want to modify the object. This object attributes are being used as driving conditions in these rules. So of the rules are being reentered the condition will be true again. This is leading to unending loop.
4. I want to visit rules in the order they are specified in the rule file- from top to bottom. And I want to enter each loop only once.
Any pointer to the document that gives information on the way drool rule engine works will be very helpful. I appreciate your efforts guys. Thanks in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253065#4253065
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253065
14 years, 8 months
[Beginner's Corner] - Technology questions
by wondermike
Hello, I've been playing around a little bit with jboss to see whether it fits my needs. So far I find it very interesting. Diving deeper into the topics, I'm a little bit lost on the question what jboss technology to chose.
I'd like to implement something like that:
* Several virtual kvm servers
* on each server one "child service" should be running and answer to queries from a main server
* only the main server has an underlying database
* a web interface shall be the view to care for the entry/handling of all data
* a rich client and a telnet client may be added later
* the child services are only "dumb executors", they do things in the system with root privileges or they lookup things in the system and give feedback to the main server.
* Login via web is of course mandatory, main server should handle logins
Is there any jboss example that comes close to what I'm looking for?
What technology should I start with each of my points above? (except for the first one)
Thanks in advance for any advise!
Regards
Michael
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253055#4253055
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253055
14 years, 8 months
[Beginner's Corner] - Re: Deployment exception
by ajayindra
Ya. Classpath was having value . and the path of Log4j home. Now I have deleted it.
Now it gives the following error:
DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/ROOT.war/" is in error due to the following reason(s): or
g.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/ROOT.war/ deployment failed
Deployment "jboss.web.deployment:war=/web-console" is in error due to the following reason(s): org.jboss.deployers.spi
.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ depl
oyment failed
Deployment "jboss.web.deployment:war=/jbossws" is in error due to the following reason(s): org.jboss.deployers.spi.Dep
loymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/jbossws.sar/jbossws-management.war/ deployment faile
d
Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/admin-console.war/" is in error due to the following reas
on(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/tmp/5c4ow43-arxzl6-fz3zl7
0o-1-fz3zm0lr-v/admin-console.war/ deployment failed
Deployment "jboss.web.deployment:war=/invoker" is in error due to the following reason(s): org.jboss.deployers.spi.Dep
loymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed
Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/" is in error due to the following reason
(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/ dep
loyment failed
17:03:20,993 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
17:03:21,025 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
17:03:21,040 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Start
ed in 3m:4s:600ms
thanks and regards,
Ajay
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253048#4253048
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253048
14 years, 8 months