[jboss-user] [JBoss jBPM] - Re: BPEL generate-artifacts error

2007-03-01 Thread frostp
Hmmm,

Nope, it's a different exception it just prevents the WAR file from being built.

The stack trace is:

15:20:19,554 ERROR [MainDeployer] Could not create deployment: file:/D:/developm
  | ent/jboss-4.0.4.GA/server/default/deploy/listadmin.war
  | org.jboss.ws.WSException: Cannot find port in wsdl: 
{http://jbpm.org/examples/li
  | stadmin}GreeterPort
  | at 
org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR10
  | 9ServerMetaDataBuilder.java:141)
  | at 
org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(W
  | ebServiceDeployerJSE.java:189)
  | at 
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
  | :103)
  | at 
org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJS
  | E.java:66)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
  | create(SubDeployerInterceptorSupport.java:180)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
  | ptor.java:91)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy42.create(Unknown Source)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | loop(AbstractDeploymentScanner.java:274)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | run(AbstractDeploymentScanner.java:225)

Also I have quickly generated a simpler web service to invoke from my BPEL 
script. It has just two strings as input parameters, and I basically get to the 
same error state (above).



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024318#4024318

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024318
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd

2007-02-28 Thread frostp
Hi,

meghanai_99, I have the same issue as you do, however I am using a schema 
that's defined inside the WSDL. (Ironically I'm now thinking about using an XSD 
to define my custom types!)

My project sounds pretty much like what you are trying to achieve as well 
(hello world + WS call)

I have tried to build using both wstools and wscompile and basically end up 
with problems.

I'll watch this thread with interest to see what happens and share my (limited) 
knowledge/experiences.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023882#4023882

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023882
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: BPEL generate-artifacts error

2007-02-28 Thread frostp
HI,

Thanks for the suggestions.


Swapped the order of the in-line schema but had no effect.

Also installed jwsdp2.0 and set up wscompile. Running this allowed me to 
generate-artifacts and deploy but the error message I got from wstools on my 
client side from before now appears on the server side and exceptions are 
thrown.

Is this problem related to 
http://www.jboss.com/index.html?module=bbop=viewtopict=101479 ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023943#4023943

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - BPEL generate-artifacts error

2007-02-27 Thread frostp
Hi,

I am trying to simply make an external web service invocation from a BPEL 
script.  I am basing the project on the HelloWorld example.

JbossAS-4.0.4.GA
JBPM-bpel-1.1.Beta3
jdk1.5.0_11

OK so i can successfully run:
ant deploy-definition
  | ant generate-service
But when it comes to ant generate-artifacts I get the following output:
D:\development\jbpm-bpel-1.1.Beta3\examples\listadminant generate-artifacts
  | Buildfile: build.xml
  | 
  | detect-wsgenerator:
  | 
  | generate-artifacts:
  | 
  | setup-wstools:
  | 
  | call-wstools:
  |   [wstools] 17:15:39,957 ERROR JBossXSErrorHandler : 
JBossWS_com_ericsson_listadmindbservice_webservices25724.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message=src-resolve.4.2:
 Error resolving component 'java:ServiceListRef'. It was detected 
that'java:ServiceListRef' is in namespace 
'java:com.ericsson.listManagement.models', but components from this namespace 
are not referenceable from schema document 
'file:/C:/DOCUME~1/frostp/LOCALS~1/Temp/JBossWS_com_ericsson_listadmindbservice_webservices25724.xsd'.
 If this is the incorrect namespace, perhaps the prefix of 
'java:ServiceListRef' needs to be changed. If this is the correct namespace, 
then an appropriate 'import' tag should be added to 
'file:/C:/DOCUME~1/frostp/LOCALS~1/Temp/JBossWS_com_ericsson_listadmindbservice_webservices25724.xsd'.
  |   [move] Moving 1 file to 
D:\development\jbpm-bpel-1.1.Beta3\examples\listadmin\target\resources\web
  | 
  | setup-wscompile:
  | 
  | BUILD SUCCESSFUL
  | Total time: 2 seconds
  | D:\development\jbpm-bpel-1.1.Beta3\examples\listadmin


I'm pretty sure the namespace for the complex ServiceListReftype is correct 
(well, I did create that webs ervice so it could be wrong)
How can I place an import into a temporary file?

I know that Ant says it has completed the task but when I run 

ant deploy the javac compiler can not see the auto generated Greeter.class and 
moans, so it can not have worked.


My config looks thus:

bpel-applications.xml
?xml version=1.0 encoding=UTF-8?
  | bpelApplication name=ListAdmin xmlns=http://jbpm.org/bpel;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://jbpm.org/bpel
  |   http://jbpm.org/bpel/bpel_application_1_0.xsd; 
  | 
  |   !-- START frostp; added for external web service --
  |   serviceCatalogs
  | !-- listing of locally published WSDL documents --
  | urlCatalog contextUrl=http://localhost:8080/;
  | 
  |   !-- published WSDL document of ticket issuer --
  |   wsdl location=ListAdminDBService/ListAdminDBServiceService?wsdl /
  | /urlCatalog
  |   /serviceCatalogs
  |   !-- END frostp; added for external web service --
  | 
  | /bpelApplication


bpel-definition.xml looks like:
?xml version=1.0 encoding=UTF-8?
  | bpelDefinition location=listadmin.bpel xmlns=http://jbpm.org/bpel;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://jbpm.org/bpel
  |   http://jbpm.org/bpel/bpel_definition_1_0.xsd;
  | 
  |   !-- makes WSDL interface elements available to the process --
  |   imports
  | wsdl location=listadmin.wsdl /
  | wsdl location=interfaces/ListAdminDBServiceService.wsdl /
  |   /imports
  | 
  | /bpelDefinition

listadmin.wsdl looks like:
?xml version=1.0 encoding=UTF-8?
  | definitions targetNamespace=urn:samples:listadmin
  |   xmlns=http://schemas.xmlsoap.org/wsdl/;
  |   xmlns:tns=urn:samples:listadmin 
  |   xmlns:s0=http://com/ericsson/listadmindbservice/webservices;
  |   xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  |   xmlns:plt=http://schemas.xmlsoap.org/ws/2003/05/partner-link/;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
  | 
  | 
  |   !-- Need to import the external file in order that we can see the 
definition of the external service --
  |   import namespace=http://com/ericsson/listadmindbservice/webservices; 
location=interfaces/ListAdminDBServiceService.wsdl /
  | 
  |   !-- START frostp describes the rel. between us and the DB access service 
 --
  |   plt:partnerLinkType name=dbAccessPLT
  | plt:role name=ListAdminDBService
  |   plt:portType name=s0:ListAdminDBService /
  | /plt:role
  |   /plt:partnerLinkType
  |   !-- END frostp --
  | 
  |   !-- characterizes the relationship between the greeter and its caller --
  |   plt:partnerLinkType name=Greeter-Caller
  | plt:role name=Greeter
  |   plt:portType name=tns:Greeter /
  | /plt:role
  | !-- the Caller does not provide services to the Greeter,
  |   this is why we omit the Caller role --
  |   /plt:partnerLinkType
  | 
  | 
  | 
  |   !-- carries the name of a person --
  |   message name=nameMessage
  | part name=name type=xsd:string /
  |   /message
  | 
  |   !-- carries the greeting --
  |   message name=greetingMessage
  | part name=greeting type=xsd:string /
  |   /message
  | 
  |   !-- describes the interface presented to callers

[jboss-user] [JBoss jBPM] - jBPM BPEL Eclipse Process Designer interworking

2007-02-23 Thread frostp
Has anybody managed to get a BPEL process designed using the eclipse process 
designer deploying on to jBoss+BPEL?

Alternatively, has anybody managed to read in the example processes (Hello, ATM 
et al) into the process designer to show anything other than a start point and 
an end point?

Currently, I think I will need to write the BPEL script by hand. Is this 
correct?
regards

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4021065#4021065

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4021065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Eclipse Process Designer interworking

2007-02-23 Thread frostp
Maybe it would help if I specified the version numbers:

eclispe WTP 1.5.2 (bundle) with BPEL editor/model 0.2.0 plugin
jBoss 4.0.4.GA
jBPM-BPEL-1.1.beta3
jdk-1.5.0_11

cheers



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4021081#4021081

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4021081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5

2007-02-14 Thread frostp
Hi all,

Problem solved.


Basically if I 
set ANT_OPTS=-Djava.endorsed.dirs=...\jboss-4.0.4.GA\lib\endorsed 
-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
then the Hello World example works fine. I also found the serialVersionUID 
resolution on this forum.

I now have the following setup:

  | - jdk1.5.0_11 (definitely the only version installed)
  | - jboss-4.0.4.GA
  | - jbpm-bpel-1.1.beta3
  | 
  | 
  | Doubtless I will add jwsdp-2.0 again at some point soon.
  | 
  | Now all I need to do is write my own process?!
  | 
  | Thanks for the help.
  | 
  | Phil

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016317#4016317

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5

2007-02-13 Thread frostp
Hi Alex,

Thanks for the info.

I've tried in vain to get it going. I have tried both solutions: anonymous 
wrote : (a) copy the jars from jboss-4.0.4.GA\lib\endorsed to 
jdk.1.5.0_11\jre\lib\endorsed or (b) set the java.endorsed.dirs system property 
to jboss-4.0.4.GA\lib\endorsed.  but to no avail.
JUnit still fails with the QName issue.

What I found strange about installing/configuring the jBPM-BPEL distro is that 
the user guide reckons you do not need jwsdp if you have at least jBoss 4.0.4 
but my configuration failed at ant generate-artifacts until I installed 
jwsdp2.0 (which had the knock on effect of making me upgrade to jdk 1.5 from 
1.4.2_x. This makes me feel there might be something incorrect about my env.

What on earth should I try next? Roll back to jdk1.4?!! I must be doing 
something stupid.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4015891#4015891

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4015891
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5

2007-02-12 Thread frostp
Hi,

I realize this thread is quite old but I too am having the same problem testing 
the hello-world BPEL service. And the resolution quoted does not appear to work 
for me. So I wondered if anybody could help me still.

My problem is exactly the same 'serialVersionUID' class incompatible issues for 
the QName class.

I have a root directory: with the following sub directories installed:
jwsdp-2.0
jbpm-bpel-1.1.Beta3
jboss-4.0.4.GA

I have a JAVA_ENDORSED_DIRS system variable set to:
...\jwsdp-2.0\jaxp\lib;
...\jwsdp-2.0\jaxp\lib\endorsed

I am running from a JAVA_HOME of jdk1.5.0_11 with the same version jre.


thanks

Phil


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014935#4014935

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4014935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user