[JBossWS] - Re: schema import fails for relative schemaLocation
by meghanai_99
Is this issue fixed? I am deplying my BPEL created using jbpm to JBoss 4.0.5 and I get following exception -
11:44:16,567 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.
0.5.GA/server/default/deploy/studio.war
java.lang.NullPointerException
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11R
eader.java:474)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSD
L11Reader.java:460)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.
java:446)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.j
ava:728)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java
:1071)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.jav
a:1054)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.
java:1027)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade
r.java:119)
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio
nsFactory.java:145)
Looking at the JIRA issue it seems someone has raised concern when imported schema is of same namespace as my schema in wsdl. I have exactly same situation -
<xsd:schema xmlns="http://www.eclipse.org/alf/schema/EventBase/1" elementFormDefault="qualified" targetNamespace="http://www.eclipse.org/alf/schema/EventBase/1">
<!--<xsd:include schemaLocation="ARMALFEvents.xsd" />-->
<xsd:import schemaLocation="ARMALFEvents.xsd" namespace="http://www.eclipse.org/alf/schema/EventBase/1"/>
</xsd:schema>
Please let me asap. I have to get this working by tomorrow.
Thank you,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016575#4016575
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016575
19Â years, 2Â months
[JBossCache] - Re: accessing TreeCacheMBean from remote client
by ppradhan
Hi,
1. the jboss-service.xml has this:
<attribute name="TargetName">
| jboss.cache:service=TreeCache
| </attribute>
| <attribute name="JndiName">
| MyCache
| </attribute>
| <attribute name="InvokeTargetMethod">
| true
| </attribute>
| <attribute name="ExportedInterface">
| org.jboss.cache.TreeCacheMBean
| </attribute>
fyi: I am using old version of cache (1.2.3) but that should not matter here I think.
2. My client code is:
Properties env = new Properties();
| env.put(Context.INITIAL_CONTEXT_FACTORY,
| "org.jnp.interfaces.NamingContextFactory");
| env.put("java.naming.factory.url.pkgs",
| "org.jboss.naming:org.jnp.interfaces");
| env.pu(Context.PROVIDER_URL, "jnp://localhost:1099");
| Context ctx = new InitialContext (env);
| //following http://wiki.jboss.org/wiki/Wiki.jsppage=JMXMBeanRemoteProxy
|
| line#51=> cache = (TreeCacheMBean)ctx.lookup("MyCache");3. I still get following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jgroups/ChannelClosedException
| at java.lang.Class.getDeclaredMethods0(Native Method)
| at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
| at java.lang.Class.privateGetPublicMethods(Unknown Source)
| at java.lang.Class.getMethods(Unknown Source)
| at sun.misc.ProxyGenerator.generateClassFile(Unknown Source)
| at sun.misc.ProxyGenerator.generateProxyClass(Unknown Source)
| at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
| at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
| at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
| at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
| at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
| at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
| at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
| at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
| at java.io.ObjectInputStream.readClassDesc(Unknown Source)
| at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
| at java.io.ObjectInputStream.readObject0(Unknown Source)
| at java.io.ObjectInputStream.readObject(Unknown Source)
| at java.rmi.MarshalledObject.get(Unknown Source)
| at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at gov.lbl.pss2.cache.test.Test.main(Test.java:51)
Any pointers, insights?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016574#4016574
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016574
19Â years, 2Â months
[JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
by bsmithjj
Sorry I was too brief in my earlier reply.
Here is some info about the server:
| bash-2.05b$ pwd
| /c/jboss-4.0.4.EJB.3RC8/server/default/deploy/jbossweb-tomcat55.sar
| bash-2.05b$ ls -l jsf-libs/
| total 1249
| -rwxrwxrwx 1 Administrators ???????? 118669 May 15 2006 commons-beanutils.jar
| -rwxrwxrwx 1 Administrators ???????? 29226 May 15 2006 commons-codec-1.2.jar
| -rwxrwxrwx 1 Administrators ???????? 165304 May 15 2006 commons-collections.jar
| -rwxrwxrwx 1 Administrators ???????? 168664 May 15 2006 commons-digester-1.6.jar
| -rwxrwxrwx 1 Administrators ???????? 20682 Apr 10 2006 jstl-1.1.2.jar
| -rwxrwxrwx 1 Administrators ???????? 249563 Oct 13 08:24 myfaces-api-1.1.4.jar.off
| -rwxrwxrwx 1 Administrators ???????? 524089 Oct 13 08:24 myfaces-impl-1.1.4.jar.off
|
no portal involved (who needs it with seam ;-) ? ).
in addition to the ear dump above, here is a dump of the war libs in the ear:
| bash-2.05b$ jar tvf access-control-webapp-1.0.war | grep lib
| 0 Wed Feb 14 13:38:02 EST 2007 WEB-INF/lib/
| 188671 Mon Apr 10 15:38:52 EDT 2006 WEB-INF/lib/commons-beanutils-1.7.0.jar
| 175426 Thu Apr 20 14:09:46 EDT 2006 WEB-INF/lib/commons-collections-2.1.1.jar
| 559366 Wed Apr 19 09:54:16 EDT 2006 WEB-INF/lib/commons-collections-3.1.jar
| 139966 Mon Apr 10 15:38:34 EDT 2006 WEB-INF/lib/commons-digester-1.7.jar
| 31909 Mon Oct 02 11:11:54 EDT 2006 WEB-INF/lib/commons-fileupload-1.1.1.jar
| 207723 Wed May 31 14:36:38 EDT 2006 WEB-INF/lib/commons-lang-2.1.jar
| 72770 Tue Jul 18 15:40:52 EDT 2006 WEB-INF/lib/evg-sso-client-adapter-0.6.jar
| 5091 Thu Feb 08 06:45:46 EST 2007 WEB-INF/lib/jboss-seam-debug-1.1.6.jar
| 1281201 Fri Oct 13 08:24:08 EDT 2006 WEB-INF/lib/tomahawk-1.1.3.jar
| 109318 Mon Apr 10 14:45:26 EDT 2006 WEB-INF/lib/xml-apis-1.0.b2.jar
| 15656 Mon Oct 02 08:28:36 EDT 2006 WEB-INF/tomahawk-taglib.xml
|
This layout and the deployment of myfaces with the ear, with myfaces commented out in in the server (see .off files) is a holdover from older problems we had from the Seam-annotated EJB's in the earliest days of our project. I've recently moved the Seam-UI, and facelets jars to the ear level for the Seam email functionality.
Thanks,
Brad Smith
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016566#4016566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016566
19Â years, 2Â months