[JBoss jBPM] - Problem testing Hello BPEL sample
by meghanai_99
Hello all,
I followed the 'getting started tutorial for BPEL' step by step. The versions of various products I am using are -
1. jBoss BPEL 1.1 Beta2
2. jBoss AS 4.0.5GA
3. jwsdp-2.0
4. jdk 1.5.0_05
5. ANT 1.6.2
I could successfully create the BPEL process and deploy it as web application on jBoss. I used 4.0.4 targets for my 4.0.5 server since there was no special target for it and I asssumd it would be backward compatible. It went fine till last step when I test it by running 'ant run-test'. I get following exception - I have copied jaxp jars from jwsdp to jdk's jre\lib\endorsed.
[junit] javax.naming.NamingException: Cannot unmarshall service ref meta dat
a, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class
incompatible: stream classdesc serialVersionUID = 4418622981026545151, local cla
ss serialVersionUID = -9120448754896609940
[junit] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(Se
rviceObjectFactory.java:126)
[junit] at javax.naming.spi.NamingManager.getObjectInstance(NamingManage
r.java:304)
[junit] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingCont
ext.java:1125)
[junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure
(NamingContext.java:1142)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:70
5)
[junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContext
Proxy.invoke(javaURLContextFactory.java:135)
[junit] at $Proxy1.lookup(Unknown Source)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[junit] at org.jbpm.bpel.tutorial.hello.HelloTest.setUp(HelloTest.java:4
--------------------------------------------------------------------------------------
Please let me know which version is not compatible here? Should I use 4.0.4 jBoss instead?
Thank you,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989830#3989830
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989830
18Â years, 2Â months
[JBoss Seam] - Re: ICEfaces
by gavin.kingï¼ jboss.com
anonymous wrote : The tree classloader issue is not resolved with ICEfaces 1.5.1, but it may be more of a configuration problem than an integration problem between Seam and ICEfaces.
|
| Fundamentally the problem appears to arise because the EJBs and the web application are loaded by different classloaders. If an EJB returns and ICEfaces-specific type, it may have the same class name, but will be a different class than ICEfaces expects (as running in the web application).
|
| So, is it generally a bad idea to return anything but primitive types from EJBs? Is there a simple way to configure the .ear so that the ClassLoaders are common? Should icefaces be split into icefaces-api.jar and icefaces-impl.jar? (In other words, we're looking for suggestions on how to best resolve this.)
There are probably various ways to solve this problem, presumably you can do it by attaching more jars to the EAR classloader. (Obviously the JBossWebClassLoader was another solution.) I think the problem was really that I moved icefaces to the EAR classloader, but not facelets, and you were trying to load facelets from ICEfaces. Might have worked by moving facelets to the EAR classloader as well. I'm not an expert on this stuff. Anyway, its nonurgent, I just moved icefaces back to the WAR classloader.
You are definitely allowed to return non-primitive types from EJBs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989829#3989829
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989829
18Â years, 2Â months
[JBoss Seam] - Re: Seamgen 1.1CR: Exception in thread
by james.williamsï¼ jboss.com
The script is wrong, but it's fixed in CVS. Replace the shell script content in $SEAM_HOME/seam with this:
| #/bin/sh
| ############################################
| #
| # seam-gen
| #
| ############################################
|
| cd seam-gen
|
| # OS specific support (must be 'true' or 'false').
| cygwin=false;
| case "`uname`" in
| CYGWIN*)
| cygwin=true
| ;;
| esac
|
| if [ "${1}" = "" ]
| then
| cat USAGE
| elif [ "${1}" = help ]
| then
| cat README
| elif $cygwin
| then
| java -cp "${JAVA_HOME}\lib\tools.jar;..\lib\ant-nodeps.jar;..\lib\ant-launcher.jar;..\lib\ant.jar" -Dant.home=..\lib org.apache.tools.ant.launch.Launcher ${*}
| else
| java -cp "${JAVA_HOME}/lib/tools.jar:../lib/ant-nodeps.jar:../lib/ant-launcher.jar:../lib/ant.jar" -Dant.home=../lib org.apache.tools.ant.launch.Launcher ${*}
| fi
|
| cd ..
|
James
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989828#3989828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989828
18Â years, 2Â months
[Performance Tuning] - Re: Identifying performance bottlenecks
by jshrinivas
Thanks for your reply. It will certainly be helpful to analyse the thread stack trace. Also which thread are you referring to when you say parallelism. Do you mean multiple JVM instances? As far as design of the application is concerned I dont have much details on it but it exercises many of the current J2EE features , EJB, MDB, JMS, Servlets, JSPs , JDBC etc. I wanted to know if there are configuration things (such as for e.g. maxThreads in jbossweb-tomcat5?.sar/server.xml for HTTP connections, JDBC pool size ) related to EJBs, MDBs, JSPs and other entities of a J2EE stack.
Thanks again,
-Shrinivas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989823#3989823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989823
18Â years, 2Â months