[Beginner's Corner] - jboss as won't register with httpd/mod_cluster
by Jeff MacDonald
Jeff MacDonald [http://community.jboss.org/people/steelnwool] created the discussion
"jboss as won't register with httpd/mod_cluster"
To view the discussion, visit: http://community.jboss.org/message/567024#567024
--------------------------------------------------------------
HI,
I've been following along with the Quick start guide in the mod cluster documention. I have httpd setup and running and Jboss as well. I can access the mod_cluster_manager page fine. As well, i tested the "Advertise.java" program to make sure my multicasting works.
However, I cannot get to /load-demo or /admin-console thru my proxy at all, leading my believe that somehow Jboss isn't "registering" with my httpd/mod_cluster.
I don't really know where to look to help debug this....
Here is my section from the httpd.conf
<IfModule manager_module>
Listen 10.33.33.31:6666
ManagerBalancerName mycluster
<VirtualHost 10.33.33.31:6666>
ServerName devcluster01.toronto.terida.net
<Directory />
Order allow,deny
Allow from all
</Directory>
AllowDisplay On
KeepAliveTimeout 300
MaxKeepAliveRequests 0
ServerAdvertise on http://10.33.33.31:6666 http://10.33.33.31:6666
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order allow,deny
Allow from all
</Location>
</VirtualHost>
</IfModule>
And as the Docs say "don't touch Jboss AS 6" ... so I didn't :) but i'm running it with
run -c all -b 0.0.0.0
Incidently, should I be able to browse https://10.33.33.31:6666/load-demo https://10.33.33.31:6666/load-demo ? or even https://10.33.33.31:8080/load-demo https://10.33.33.31:8080/load-demo [directly on the jboss host, versus thru the proxy?] i've deployed it successfully many times, but have never been able browse to it,but maybe thats intended.
Jeff.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/567024#567024]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 1 month
[JBoss Tools] - Beta Time for JBoss Tools 3.2
by Max Andersen
Max Andersen [http://community.jboss.org/people/max.andersen%40jboss.com] modified the blog post:
"Beta Time for JBoss Tools 3.2"
To view the blog post, visit: http://community.jboss.org/community/jbosstools/blog/2010/10/18/beta-time...
--------------------------------------------------------------
It's Beta time for JBoss Tools, the Eclipse plugin suite for JBoss and related technologies.
http://in.relation.to/service/File/10824 http://in.relation.to/service/File/10824
h4. 3.2.0.Beta1
[ http://www.jboss.org/tools/download Download] [ http://download.jboss.org/jbosstools/updates/development Update Site] [ http://docs.jboss.org/tools/whatsnew What's New] [ http://docs.jboss.org/tools/movies/ Movies] [ http://docs.jboss.org/tools/3.2.0.Beta1/ Documentation] [ http://www.jboss.com/index.html?module=bb&op=viewforum&f=201 Forums] [ http://jira.jboss.com/jira/browse/JBIDE JIRA] [ http://twitter.com/jbosstools Twitter]
h3. Beta Time!
It's beta time, meaning we've locked down new feature additions to most of JBoss Tools and we get to give you the first beta release of JBoss Tools 3.2 - the version of JBoss Tools you should use if you are using Eclipse 3.6 (Helios).
h3. New Features/Improvements
Since it is beta time the focus have been and will be on bugfixing, optimization and stabilization but we do got a few nice new features I would like to highlight - as all ways there is more to see on the http://docs.jboss.org/tools/whatsnew What's New page(s).
h3. 10 x faster validation for JSF/XHTML
We've fixed reported issues concerning performance problems with validation of XHTML in larger projects. Our own test project (100.000's of Expression languages and thousands of pages) which before took 15 minutes to validate are now done in less than a minute when doing a full validation. Making the validation 10 times as fast as what is seen in the M2 release. If you continue to have performance problems with Beta1 please let us know!
h4. CDI/Seam Validation and Quickfixes
CDI and Seam have all received some more additional validation (i.e. we now valdiate classnames referenced in CDI descriptors) and a good set of quickfixes allowing you to quickly fix common problems.
h4. MyFaces 2 metadata
MyFaces 2 does not ship TLD's within their project. This make them "invisible" to our default handler for JSF compoenents since we moved to use classpath based lookups to have more correct code completion and validation per project. MyFaces does though ship their own -metadata.xml file that describes their components and we've added support to parse and recognize these now. This should make any new components or changes to existing ones in MyFaces show up in the editor without having to get JBoss Tools updated.
h4. Remote Deployment
JBoss Tools AS Server adapter is now telling the remote server to not scan for changes when remote deployment are done via file copying; preventing "accidental" deployments, making things much more robust.
The remote deployment now also includes optiorns for controlling the start and startup commands used over SSH - allowing you use your own external launch scripts to control how JBoss AS is started/stopped.
h4. Hibernate Comments
HQL (Hibernate Query Language) does not support comments natively, but we have had many requests for allowing it in the Query Editor since it is very useful for quick experiments to be able to comment out parts of your query. Therefore you can now use "--" the beginning of a line to comment it out in the editor. Not a big feature in itself but worth mentioning it since many have asked for it over the years.
h4. Annotation Properties View
We are http://community.jboss.org/community/jbosstools/blog/2010/09/13/extending... experiementing with using the new Annotation Properties View which are available via Eclipse WTP JAX-WS support in Helios.
This release therefore are including support for JBoss ESB and JAX-RS (RestEasy) annotations, giving you a more graphical approach to read and write annotations on your service classes.
...and http://docs.jboss.org/tools/whatsnew more
h4.
h4. Feedback
In M2 we enabled our Usage Tracking and it was a http://community.jboss.org/community/jbosstools/blog/2010/09/24/friday-st... raving success and continues to give us more and more information about where and how JBoss Tools are being used without having users to do anything beyound using our plugins.
We still very much appreciate to hear directly from our users thus don't forget to leave a comment on this blog, post on the forum or report or leave patches to issues on our jira - we love it all.
Have Fun!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/jbosstools/blog/2010/10/18/beta-time...]
14 years, 1 month
[jBPM] - How to run jbpm in Jboss applicatation server
by sreeni Karnati
sreeni Karnati [http://community.jboss.org/people/sreeni.karnati] created the discussion
"How to run jbpm in Jboss applicatation server"
To view the discussion, visit: http://community.jboss.org/message/566936#566936
--------------------------------------------------------------
Hi EveryOne,
I am doing R & D on jBPM 4.4 implementation jboss 4.2. I implemented it sucessfully for a web application as follows as follow
--> Add a jbpm.jar,jbpm.cfg.xml and jbpm.hibernate.cfg.xml to the class path and configure jbpm.hibernate.cfg.xml with the database details
--> Define a process with jpdl
--> Write logic to Deploy and execute processe by using jbpm 4.4 API
--> Run the web application on the jboss (Before doing this we have to create the jbpm 4.4 data schema)
This pplication will deploy and cretae a process instance sucussfully.
Now i am looking for pen-source reporting tools suitable for jBPM 4.4 that runs on Jboss 4.2 application server.
My requiremnts are to look for how many process instances/task/excecution etc...per day or for each queue or for
a period of time.
I would like to know more about the web-console..?How to use it and how to run it on jboss..?
If any one knows more information , Please help
Thanks,
Sreeni.k
Hi EveryOne,
I am doing R & D on jBPM 4.4 implementation jboss 4.2. I implemented it sucessfully for a web application as follows as follow
--> Add a jbpm.jar,jbpm.cfg.xml and jbpm.hibernate.cfg.xml to the class path and configure jbpm.hibernate.cfg.xml with the database details
--> Define a process with jpdl
--> Write logic to Deploy and execute processe by using jbpm 4.4 API
--> Run the web application on the jboss (Before doing this we have to create the jbpm 4.4 data schema)
This pplication will deploy and cretae a process instance sucussfully.
Now i am looking for pen-source reporting tools suitable for jBPM 4.4 that runs on Jboss 4.2 application server.
My requiremnts are to look for how many process instances/task/excecution etc...per day or for each queue or for
a period of time.
I would like to know more about the web-console..?How to use it and how to run it on jboss..?
If any one knows more information , Please help
Thanks,
Sreeni.k
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566936#566936]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 1 month
[Javassist] - AOP over Tomcat base classes
by Juliano Daloia de Carvalho
Juliano Daloia de Carvalho [http://community.jboss.org/people/judac] created the discussion
"AOP over Tomcat base classes"
To view the discussion, visit: http://community.jboss.org/message/566922#566922
--------------------------------------------------------------
Hi all.
I'm using JavaAssist in one Agent I'm creating to change the behavior of tomcat, but I do not want to customize this on tomcat itself. I want to add some security issues, and for that I want to intercepted the exactly moment when tomcat class receives the client request, and intercepted the last moment that a tomcat class handle the response.
I'm trying to inject a code over two methods on the tomcat base class:
> org/apache/catalina/connector/CoyoteAdapter
In first instance I just want to put an output message to check when this method is requested.
try {
method.insertBefore(
" { " +
" System.out.println( \" -[AOP][CoyoteAdapter][parseSessionId] \" ); " +
" } ");
}
catch (CannotCompileException e){
System.out.println("["+className+"]["+method.getName()+"]-> " + e.getMessage());
e.printStackTrace();
}
The problem is that the
CannotCompileException
throws with the information about one attribute which the method I want to change receives as parameter.
protected void parseSessionId(org.apache.coyote.Request req, Request request) {
...
}
The class not found is
org.apache.coyote.Request req
Bellow follows the stack trace collected.
> Prepering to transform org.apache.catalina.connector.CoyoteAdapter
> [org/apache/catalina/connector/CoyoteAdapter][parseSessionId]----------------> cannot find org.apache.coyote.Request
> javassist.CannotCompileException: cannot find org.apache.coyote.Request
> at javassist.CtBehavior.insertBefore(CtBehavior.java:574)
> at br.com.cedro.tomcat.transformer.Transformer.transform(Transformer.java:84)
> at sun.instrument.TransformerManager.transform(TransformerManager.java:169)
> at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:365)
> 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 java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.apache.catalina.connector.Connector.initialize(Connector.java:1007)
> at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
> at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
> 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 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: javassist.NotFoundException: org.apache.coyote.Request
> at javassist.ClassPool.get(ClassPool.java:417)
> at javassist.bytecode.Descriptor.toCtClass(Descriptor.java:549)
> at javassist.bytecode.Descriptor.getParameterTypes(Descriptor.java:396)
> at javassist.CtBehavior.getParameterTypes(CtBehavior.java:235)
> at javassist.CtBehavior.insertBefore(CtBehavior.java:555)
> ... 25 more
I appreciate the help. I'm exploring tomcat source for 5 days, and I didn't found the exactly point where I need to customize.
Tks
Juliano.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566922#566922]
Start a new discussion in Javassist at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 1 month