Re: [jboss-user] [jBPM] - jBPM4.3 on Weblogic 9.2
by Abhishek Chikane
Abhishek Chikane [http://community.jboss.org/people/abhishek.chikane%40gmail.com] replied to the discussion
"jBPM4.3 on Weblogic 9.2"
To view the discussion, visit: http://community.jboss.org/message/545646#545646
--------------------------------------------------------------
Hi,
I am still stuck with the authentication stuff. Is there any document to understand how authentication works? Or the actual code (Class name and how to find it?).
I am now trying to map the jboss-service.xml with the weblogic security stuff. Can you please help? Actually it is taking time because I am new to the Jboss and Weblogic security mechanism. Any reference would work.
I think this whole,
<mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jbpm:service=LoginConfig">
<attribute name="PolicyConfig" serialDataType="jbxb">
<jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd" xmlns:jaas="urn:jboss:security-config:4.1"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance">
<jaas:application-policy name="jbpm-console">
<jaas:authentication>
<!-- Authenticate against the Identiy database -->
<jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
<jaas:module-option name="dsJndiName">java:/JbpmDS</jaas:module-option>
<jaas:module-option name="principalsQuery"> SELECT PASSWORD_ FROM JBPM4_ID_USER WHERE ID_=? </jaas:module-option>
<jaas:module-option name="rolesQuery">
SELECT g.NAME_ ,'Roles' FROM JBPM4_ID_USER u, JBPM4_ID_MEMBERSHIP m, JBPM4_ID_GROUP g
WHERE g.TYPE_='security-role' AND m.GROUP_ = g.DBID_ AND m.USER_ = u.DBID_ AND u.ID_=? </jaas:module-option>
</jaas:login-module>
</jaas:authentication>
</jaas:application-policy>
</jaas:policy>
</attribute>
<depends optional-attribute-name="LoginConfigService"> jboss.security:service=XMLLoginConfig</depends>
<depends optional-attribute-name="SecurityManagerService"> jboss.security:service=JaasSecurityManager</depends>
</mbean>
part should be mapped with weblogic specific settings.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545646#545646]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[JBoss Web Services] - java.lang.NoSuchMethodError: org.jboss.ws.core.jaxws.binding.BindingExt.getBindingID()Ljava/lang/String;
by J K
J K [http://community.jboss.org/people/jsk_jboss] created the discussion
"java.lang.NoSuchMethodError: org.jboss.ws.core.jaxws.binding.BindingExt.getBindingID()Ljava/lang/String;"
To view the discussion, visit: http://community.jboss.org/message/545641#545641
--------------------------------------------------------------
I am getting following error when I invoke a bpel.
19:16:32,018 WARN [EndpointReferenceContextImpl] Map access not implemented
19:16:32,049 ERROR [WebServiceClient] WS invocation failed
java.lang.NoSuchMethodError: org.jboss.ws.core.jaxws.binding.BindingExt.getBindingID()Ljava/lang/String;
at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:148)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:133)
at org.jboss.soa.bpel.runtime.ws.WebServiceClient$1$1.call(WebServiceClient.java:146)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
19:19:32,048 ERROR [INVOKE] Failure during invoke: No response received for invoke (mexId=8), forcing it into a failed state.
19:19:32,048 INFO [BpelRuntimeContextImpl] ActivityRecovery: Registering activity 12, failure reason: No response received for invoke (mexId=8), forcing it into a failed state. on channel 21
Any clues.
regards,
jk
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545641#545641]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
[Beginner's Corner] - Newbie and problematic
by Noelia Delgado
Noelia Delgado [http://community.jboss.org/people/Zoeley] created the discussion
"Newbie and problematic"
To view the discussion, visit: http://community.jboss.org/message/545628#545628
--------------------------------------------------------------
Hi, I'm trying to run a client application but I have the following error:
Using: Jboss 5.1.0, JDK 1.6_18 and maven 2.2.1
DEBUG [main] (
Logger.java:228) - createSocket, hostAddr: /127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0 DEBUG [main] (
Logger.java:228) - org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory servicing request for PersonaBean/remote DEBUG [main] (
Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] constructed DEBUG [main] (
Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] connecting DEBUG [main] (
Logger.java:228) - Creating semaphore with size 50 DEBUG [main] (
Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] connected DEBUG [main] (
Logger.java:228) - removed SocketClientInvoker[1b16e52, socket://localhost:3873] from registry DEBUG [main] (
Logger.java:228) - SocketClientInvoker[1b16e52, socket://localhost:3873] disconnecting ... DEBUG [main] (
Logger.java:228) - Created Proxy of type $Proxy1 for EJB3 Business Interface: unsj.hre_ejb.ir.PersonaRemote DEBUG [main] (
Logger.java:228) - Couldn't handle invocation directly within org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler@1ce2dd4: Current invocation "public abstract java.lang.String unsj.hre_ejb.ir.PersonaRemote.buscarPersona()" is not eligible for direct handling by org.jboss.ejb3.proxy.impl.handler.session.SessionRemoteProxyInvocationHandler@1ce2dd4 DEBUG [main] (
Logger.java:228) - Received invocation request to method unsj.hre_ejb.ir.PersonaRemote: unsj.hre_ejb.ir.PersonaRemote.buscarPersona(); using hash: -4133175750733962837 DEBUG [main] (
Logger.java:228) - Using ThreadLocal: false Exception in thread "main"
java.lang.reflect.UndeclaredThrowableException at $Proxy2.buscarPersona(Unknown Source)
at Zzapp.main(
Zzapp.java:39) Caused by:
java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at java.security.AccessController.doPrivileged(
Native Method) at org.jboss.ejb3.security.client.SecurityActions.createSecurityContext(
SecurityActions.java:657) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(
SecurityClientInterceptor.java:59) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:102) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(
IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
MethodInvocation.java:102) at org.jboss.aspects.remoting.PojiProxy.invoke(
PojiProxy.java:62) at $Proxy3.invoke(Unknown Source)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(
SessionProxyInvocationHandlerBase.java:164) ... 2 more
Caused by:
java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(
Constructor.java:513) at org.jboss.security.SecurityContextFactory.createSecurityContext(
SecurityContextFactory.java:117) at org.jboss.security.SecurityContextFactory.createSecurityContext(
SecurityContextFactory.java:76) at org.jboss.ejb3.security.client.SecurityActions$1.run(
SecurityActions.java:662) ... 12 more
Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file
javax/security/jacc/PolicyContextException at java.lang.ClassLoader.defineClass1(
Native Method) at java.lang.ClassLoader.defineClassCond(
ClassLoader.java:632) at java.lang.ClassLoader.defineClass(
ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(
URLClassLoader.java:283) at java.net.URLClassLoader.access$000(
URLClassLoader.java:58) at java.net.URLClassLoader$1.run(
URLClassLoader.java:197) at java.security.AccessController.doPrivileged(
Native Method) at java.net.URLClassLoader.findClass(
URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(
ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(
Launcher.java:301) at java.lang.ClassLoader.loadClass(
ClassLoader.java:248) at org.jboss.security.plugins.JBossSecurityContext.<init>(
JBossSecurityContext.java:82) ... 19 more
I hope that somebody will have a solution.
Thanks in advance.
Zoeley
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545628#545628]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
Re: [jboss-user] [JBoss Tools] - Problem with JBoss Tools - New Seam Project and Seam Perspective
by Heinrich Hermann
Heinrich Hermann [http://community.jboss.org/people/damienmc3] replied to the discussion
"Problem with JBoss Tools - New Seam Project and Seam Perspective"
To view the discussion, visit: http://community.jboss.org/message/545627#545627
--------------------------------------------------------------
Yes ! WTP plugin is installed !
Log:
Start VM: -Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=D:\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v
20090715.jar
-os win32
-ws win32
-arch x86
-showsplash D:\eclipse\\plugins\org.eclipse.platform_3.3.202.v201002111343\splas
h.bmp
-launcher D:\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x
86_1.0.200.v20090519\eclipse_1206.dll
-startup D:\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.
jar
-showlocation
--launcher.XXPermSize 128m
-debug
-vm D:\Java\jdk\bin\..\jre\bin\client\jvm.dll
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=D:\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v
20090715.jar
Install location:
file:/d:/eclipse/
Configuration file:
file:/d:/eclipse/configuration/config.ini loaded
Configuration location:
file:/d:/eclipse/configuration/
Framework located:
file:/d:/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
Framework classpath:
file:/d:/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
Splash location:
D:\eclipse\\plugins\org.eclipse.platform_3.3.202.v201002111343\splash.bmp
Debug options:
file:/D:/eclipse/.options not found
Time to load bundles: 12
Starting application: 7471
Application Started: 28789
java.io.FileNotFoundException: D:\Benutzer-Profile\hermannhe\workspacejboss\.met
adata\.plugins\com.danikenan.eclipse.classlocator\dic.ser (Das System kann die a
ngegebene Datei nicht finden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.danikenan.eclipse.classlocator.ClassLocatorPlugin.deSerailize(Cla
ssLocatorPlugin.java:182)
at com.danikenan.eclipse.classlocator.ClassLocatorPlugin.access$0(ClassL
ocatorPlugin.java:175)
at com.danikenan.eclipse.classlocator.ClassLocatorPlugin$1.run(ClassLoca
torPlugin.java:147)
at com.danikenan.eclipse.classlocator.ClassLocatorPlugin.earlyStartup(Cl
assLocatorPlugin.java:151)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlySta
rtupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable
.java:73)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
2010-06-01 15:26:53.747:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.
jetty.util.log.StdErrLog
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545627#545627]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months
Re: [jboss-user] [JBoss Web Services CXF] - JBossWS-CXF-3.3.0.GA exception on startup
by web websson
web websson [http://community.jboss.org/people/rotula] replied to the discussion
"JBossWS-CXF-3.3.0.GA exception on startup"
To view the discussion, visit: http://community.jboss.org/message/545623#545623
--------------------------------------------------------------
Neither first or second solutions seems to work - tested on fresh JBoss 5.1 GA:
- install 3.2.2 and then 3.3.0:
the server.log is too long and completely full with errors
- use the src distribution instead of the bin:
seems that the script is looking after "default" configuration and sience I'm using "all" ...:
> C:\jbossws-cxf-3.3.0.GA\src>ant deploy-jboss510
> Buildfile: C:\Tools\jbossws-cxf-3.3.0.GA\src\build.xml
>
> target-jboss510:
>
> os-init:
>
> mvn-settings:
> [mkdir] Created dir: C:\jbossws-cxf-3.3.0.GA\src\target
> [exec] [INFO] Scanning for projects...
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [INFO] Reactor build order:
> [exec] [INFO] JBoss Web Services - Stack CXF
> [exec] [INFO] JBoss Web Services - Endorsed factories
> [exec] [INFO] JBoss Web Services - Stack CXF Runtime Client
> [exec] [INFO] JBoss Web Services - Stack CXF Server
> [exec] [INFO] JBoss Web Services - Stack CXF Management
> [exec] [INFO] JBoss Web Services - Stack CXF Resources
> [exec] [INFO] Searching repository for plugin with prefix: 'help'.
> [exec] [INFO] org.apache.maven.plugins: checking for updates from jboss-nexus
> [exec] [INFO] org.codehaus.mojo: checking for updates from jboss-nexus
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] Building JBoss Web Services - Stack CXF
> [exec] [INFO] task-segment: [help:effective-settings] (aggregator-style)
> [exec] [INFO] ------------------------------------------------------------------------
> [exec]
> [exec] [INFO] Effective-settings written to: C:\Tools\jbossws-cxf-3.3.0.GA\src\target\effective-settings.xml
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] BUILD SUCCESSFUL
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] Total time: 20 seconds
> [exec] [INFO] Finished at: Tue Jun 01 14:43:32 CEST 2010
> [exec] [INFO] Final Memory: 12M/30M
> [exec] [INFO] ------------------------------------------------------------------------
> [echo]
> [echo] jboss501.home=${profiles.profile.properties.jboss501.home}
> [echo] jboss510.home=/jboss-5.1-cxf
> [echo] jboss600.home=${profiles.profile.properties.jboss600.home}
> [echo] jboss601.home=${profiles.profile.properties.jboss601.home}
>
> prepare:
>
> init:
> [echo] version.id=3.3.0.GA
> [echo] integration.target=jboss510
>
> undeploy-jboss510:
> [loadfile] C:\jboss-5.1-cxf\server\default\deployers\jbossws.deployer\jbossws-deploy.conf doesn't exist
> [loadfile] C:\jboss-5.1-cxf\server\default\deployers\jbossws.deployer\jbossws-server-deploy.conf doesn't exist
>
> BUILD FAILED
> C:\jbossws-cxf-3.3.0.GA\src\src\main\distro\build-deploy.xml:95: The following error occurred while executing this line:
> C:\jbossws-cxf-3.3.0.GA\src\modules\resources\src\main\resources\resources\jbossws-deploy-macros.xml:362: Directory does not exist: C:
> \jboss-5.1-cxf\server\default
>
> Total time: 22 seconds
It would be great if somone from JBoss can provide a *working* installation script for this stack!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545623#545623]
Start a new discussion in JBoss Web Services CXF at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 10 months