[Security & JAAS/JBoss] - Re: Form and custom LoginModule : ClassCastException
by jaikiran
Is there any specific reason why you are creating your own service and a separate login config file. Usaully, if a custom login module has to be implemented then it is mentioned in the login-config.xml file which is present in the %JBOSS_HOME%/server/default/conf folder. Just add your application policy to the existing list in that file and start using it. Something like:
| <application-policy name = "TestJaasLdapRealm">
| <authentication>
| <login-module code = "com.sample.security.TestLoginModule" flag = "required">
| <module-option name="additionalRole">Authenticated</module-option>
| </login-module>
| <login-module code="org.jboss.security.ClientLoginModule" flag="required" />
| </authentication>
| </application-policy>
You will not need those ga-login-config-service.xml and ga-login-config.xml files. Just my thoughts. However, if you have a specific requirement of using those files do let us know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987468#3987468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987468
19Â years, 7Â months
[JBoss Portal] - Re: Memory leak in JBoss portal 2.4
by yamazak
To JBoss Portal2.4.0-GA, we are concerned about memory leak problem.
We have checked about the memory usage of JBoss Portal 2.4.0-GA while JMeter loaded http request.
The result was that JVM memory usage was increasing during JMeter sended http request. Finally, the server was downed.
Test Details
to:test server
1.Installed JBoss Portal 2.4.0-GA to Windows PC.
2.Connected Oracle to the portal server.
3.Started up server.
to:client machine
4.Started up JMeter.
5.Configured as below:
-Number of Threads:20
-Ramp up Period:20
-Loop:forever
-Test plan
|
|-http request:http://***:8080/portal
|-Timer:5000ms
6.Began the test plan.
Result
JVM memory usage was increasing during load.
About four hours later, Server was downed by OutOfMemoryException.
I'm facing a seriouse problem.
What do I missing?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987466#3987466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987466
19Â years, 7Â months
[JBoss Messaging] - Re: Messaging installation validation is failed !
by bijianrui
There is no firewall on my environment.
When the JBOSS messaging server started , I do this test successfully.
telnet 10.164.75.22 4457
After telnet , I input BACKSPCE on the telnet window , the JBOSS server show error :
11:22:59,155 ERROR [SocketServerInvoker] Failed to accept socket connection
java.lang.reflect.InvocationTargetException
at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:202)
at org.jboss.remoting.transport.socket.ServerThread.(ServerThread.java:99)
at org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:497)
at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:450)
at java.lang.Thread.run()V(Unknown Source)
Caused by: java.io.IOException: Mismatch version of JBossSerialization signature
at org.jboss.serial.io.JBossObjectInputStream.checkSignature(JBossObjectInputStream.java:113)
at org.jboss.serial.io.JBossObjectInputStream.(JBossObjectInputStream.java:94)
at org.jboss.remoting.serialization.impl.jboss.JBossSerializationManager.createInput(JBossSerializationManager.java:59)
at org.jboss.remoting.transport.socket.ServerSocketWrapper.createInputStream(ServerSocketWrapper.java:56)
at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:76)
at org.jboss.remoting.transport.socket.ClientSocketWrapper.(ClientSocketWrapper.java:54)
at org.jboss.remoting.transport.socket.ServerSocketWrapper.(ServerSocketWrapper.java:50)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987459#3987459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987459
19Â years, 7Â months