[JBoss Web Services] - integrate axis2/c service in jboss
by dimshust dimshust
dimshust dimshust [http://community.jboss.org/people/dimshust] created the discussion
"integrate axis2/c service in jboss"
To view the discussion, visit: http://community.jboss.org/message/574674#574674
--------------------------------------------------------------
(sry for bad english)....
My problem, i have a client (it can be only on c++)...I have service wsdl. I have generated a service c++ code,(using axis2 tool WSDL2C, using service wsdl).... Now I can integrate this service code into the apache web server, because the axis2 c++ has a plugin for this purpose.
But i need integrate this sirvice code into JBoss web server. Whether it is possible?
Theoretically, I can make service at a window, and the client on a chair.Then to integrate window service into a chair and to incorporate to it a window chair
Theoretically, I can generate service at a java, and the client as c++. Then to integrate java service into a JBoss and to connect to it a c++ client. But it would be much better, if service was on с++
(sry for bad english)....
My problem, i have a client (it can be only on c++)...I have service wsdl. I have generated a service c++ code,(using axis2 tool WSDL2C, using service wsdl).... Now I can integrate this service code into the apache web server, because the axis2 c++ has a plugin for this purpose.
But i need integrate this sirvice code into JBoss web server. Whether it is possible?
Theoretically, I can make service at a window, and the client on a chair.Then to integrate window service into a chair and to incorporate to it a window chair
Theoretically, I can generate service at a java, and the client as c++. Then to integrate java service into a JBoss and to connect to it a c++ client. But it would be much better, if service was on с++
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/574674#574674]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - jbpm5 and maven
by michael melsen
michael melsen [http://community.jboss.org/people/piratew] created the discussion
"jbpm5 and maven"
To view the discussion, visit: http://community.jboss.org/message/573733#573733
--------------------------------------------------------------
Hi everyone,
I'm hoping any one of you guys can help me out and that my question isn't a bit too noobish ;) . I'm trying to run jbmp5 in a test setup. After using the jbpm5 installer and the ant script everything works quite well. However I'm trying to setup a new jbpm5 / maven project to start a prototype. Unfortunately after finding and adding the dependency jpbm 5.0-Snapshot my pom editor in eclipse keep stating that it is missing artifact org.jbpm:jbpm:pom:5.0-SNAPSHOT:compile. Older versions of jbpm work like a charm.
Is there anybody who knows what I'm doing wrong or is there a problem related to the repository itself?
thanks in advance,
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573733#573733]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Portal] - Using SPNEGO in jboss portal 2.7
by front line
front line [http://community.jboss.org/people/frontline2] created the discussion
"Using SPNEGO in jboss portal 2.7"
To view the discussion, visit: http://community.jboss.org/message/574594#574594
--------------------------------------------------------------
I'm trying to figure out how to use windows authentication (spnego) in jboss portal.
I get the spnego/kerberos stuff to work, ie. the portal logs the domain user in fine. But then I get errors related to the ldap user modules (they apparently can't get the user, or the password.)
I checked eg. this old thread that discussed this:
http://community.jboss.org/message/310947#310947 http://community.jboss.org/message/310947
I don't know what the situation is currently for the negotiation module.
I found a small tutorial for using spnego in Gatein portal, but unfortunately I can't move to it.
It is apparently this part in login.config that doesn't work if not using form based authentication. How should these modules be configured to work with com.sun.security.auth.module.Krb5LoginModule (which now works for me).
What is the module named "org.jboss.security.negotiation.spnego.SPNEGOLoginModule", I really didn't see how it fits in all this.
<login-module code="org.jboss.portal.identity.auth.IdentityLoginModule" flag="optional">
<module-option name="unauthenticatedIdentity">guest</module-option>
<module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
<module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
<module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
<module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
<module-option name="additionalRole">Authenticated</module-option>
<module-option name="password-stacking">useFirstPass</module-option>
</login-module>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/574594#574594]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[IronJacamar] - Re: Embedded JCA with Glassfish
by John SMITH
stackpeek [http://community.jboss.org/people/stackpeek] created the discussion
"Re: Embedded JCA with Glassfish"
To view the discussion, visit: http://community.jboss.org/message/573674#573674
--------------------------------------------------------------
Hi Jesper,
Thanks for your help. I used "new EmbeddedJCA(false)" to boot a clean environment, and deployed the following XML files: transaction.xml, stdio.xml, jca.xml.
I didn't deploy the naming.xml and comment all the dependencies to the "NamingServer" bean in each of these XML files.
I assume IronJacamar (IJ) can find the local naming environment (the Glassfish one), cause I could see the bindings of the different tx beans (UserTransaction, TransactionPropagationContextImporter, TransactionPropagationContextExporter, TransactionSynchronizationRegistry, TransactionManager) in the JNDI tree.
I still get the NotSerializableException from org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManager (@see the stack at the end of this post).
I don't get any error at archive validation (I changed the BeanValidation namespace in order to prevent NamingException with java:comp namespace modification). I only get a warning when I use IJ in standalone, but the deployment is OK. I could browse the IJ administration console, and view my connection factory and its different configuration properties.
Below the initialization of the JCA container:
{code}
embeddedJca = new EmbeddedJCA(false);
embeddedJca.startup();
embeddedJca.deploy(getUrl("transaction.xml"));
embeddedJca.deploy(getUrl("stdio.xml"));
embeddedJca.deploy(getUrl("jca.xml"));
RAActivator raa = embeddedJca.lookup("RAActivator", RAActivator.class);
if (null == raa) throw new IllegalStateException("RAActivator not defined");
raa.setEnabled(false);
embeddedJca.deploy(getUrl("MyArchive.rar"));
embeddedJca.deploy(getUrl("my-ra.xml"));
raa.setEnabled(true);
{code}
Content of my-ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<resource-adapters>
<resource-adapter>
<archive>MyArchive.rar</archive>
<transaction-support>XATransaction</transaction-support>
<connection-definitions>
<connection-definition jndi-name="eis/MyArchive" use-java-context="false" enabled="true" class-name="com.xxx.MCF">
</connection-definition>
</connection-definitions>
</resource-adapter>
</resource-adapters>
Thanks for your help.
Caused by: java.lang.RuntimeException: com.github.fungal.spi.deployers.DeployException: Deployment file:/.../my-ra.xml failed
...
Caused by: com.github.fungal.spi.deployers.DeployException: Deployment file:/.../application-ra.xml failed
at org.jboss.jca.deployers.fungal.RaXmlDeployer.doDeploy(RaXmlDeployer.java:291)
at org.jboss.jca.deployers.fungal.RaXmlDeployer.deploy(RaXmlDeployer.java:174)
at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:162)
at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:77)
at org.jboss.jca.embedded.EmbeddedJCA.deploy(EmbeddedJCA.java:169)
...
... 72 more
Caused by: java.lang.RuntimeException: Cant copy Serializable object:
at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:82)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:89)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:472)
at org.jboss.util.naming.Util.bind(Util.java:105)
at org.jboss.util.naming.Util.bind(Util.java:91)
at org.jboss.jca.core.naming.ExplicitJndiStrategy.bindConnectionFactories(ExplicitJndiStrategy.java:140)
at org.jboss.jca.deployers.fungal.AbstractFungalRADeployer.bindConnectionFactory(AbstractFungalRADeployer.java:209)
at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1344)
at org.jboss.jca.deployers.fungal.RaXmlDeployer.doDeploy(RaXmlDeployer.java:273)
... 77 more
Caused by: java.io.NotSerializableException: org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManager
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:64)
... 85 more
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573674#573674]
Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months