[Design of JBoss Profiler] - Re: JBoss Profiler Installation in Windows - questions
by _eric_
Hi qa,
until now you got no answer. I'm starting to with the profiler version jboss-profiler-2.0.Beta3.SP1, so we are brothers in pain ;-)
Initially, take a look to the read me. In my case there is a section "Deployment in JBoss Application Server" telling to copy what files to what place. The thing with the JAVA_OPTS is described close to the end of the readme. After I did all that things I get the following output when starting the server. I hpe one of the experts can explain a little bit more.
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:+CMSPermGenSweepingEnabled -XX:PermSize=256m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInte
| rval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties
|
| CLASSPATH: C:\Programme\Java\jdk1.6.0_13\lib\tools.jar;C:\Dokumente und Einstellungen\user\Eigene Dateien\workspace\orgavision\jboss\bin\run.jar
|
| ===============================================================================
|
| Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
| JBoss Profiler 2.0.Beta3.SP1 (Sun Microsystems Inc. 1.6.0_13)
| WARNING: Javassist not detected - the profiler will not be enabled
| Exception in thread "main" java.lang.reflect.InvocationTargetException
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
| at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
| Caused by: java.lang.NoClassDefFoundError: javassist/ClassPool
| at org.jboss.profiler.agent.JavassistTransformer.<init>(JavassistTransformer.java:52)
| at org.jboss.profiler.agent.Agent.boot(Agent.java:889)
| at org.jboss.profiler.agent.Agent.premain(Agent.java:848)
| ... 6 more
| FATAL ERROR in native method: processing of -javaagent failed
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227456#4227456
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227456
15 years, 8 months
[QA of JBoss Portal] - Re: Problem with Tomcat SSO valve while being in 'Admin' rol
by mposolda@redhat.com
Yes. That's right. If you add "Authenticated" to admin user from jmx-console and logging in jmx-console as admin, than you can go everywhere in JBoss Portal because you are in both roles "Admin" and "Authenticated". That's correct.
My interest is in situation, when you are only in "Admin" (or maybe "User") role but not in role "Authenticated". That's the problem from my point of view.
Imagine another situation: The default portal is configured normally so everywhere can see it. If unauthenticated user (unchecked guest) goes to http://localhost/portal he sees the default portal page and when he clicks to 'News' link, he is redirected to http://localhost:8080/portal/portal/default/News and he can see the News page of default portal. But when admin user from jmx-console, (is logged in jmx-console and is only in "Admin" role but not "Authenticated") goes to http://localhost:8080/portal, he can see the default portal page, but when he click on News link, he is redirected to URL: http://localhost:8080/portal/auth/portal/default/News and he has '403 forbidden' page. So this user has defacto less privileges then completely unauthenticated guest user. This behaviour is a little out of logic from my point of view...
Maybe I am a little paranoid and this is not as important ;-) But from my point of view, the behaviour in situation when you are in role "Admin" (or "User") and not in "Authenticated" is not logical.
Solution may be to inform our customers that for correct usage of Tomcat SSO Valve, they must have users in their web applications in both roles "Admin" and "Authenticated" (or "User" and "Authenticated" for normal non-admin users).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227431#4227431
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227431
15 years, 8 months