How to integrate bootsfaces and jsf on glassfish server? - glassfish

The boots faces won't show when i run the xhtml page. I just added the jars from the website to libraries, am I missing something? Should I change some XML file or something. I know it works on Tomee but i have to use Glassfish for this.

There are nasty bugs in the Glassfish implementation. Maybe you've run into one of them. Have a look at this article of mine describing how to run BootsFaces on a Glassfish server.

Related

Trying to find out why a server is accessing struts.apache.org?

I have a server on which there is evidence of accesses to http://struts.apache.org. Nobody has installed struts on it, but Tomcat 7.0 is certainly installed. Is is possible that Tomcat is performing those accesses? In case struts is included as part of Tomcat installation, how can I determine the struts' version. Thanks in advance!.
org.apache.catalina.startup.TaglibUriRule
That is an example of a TagLib (or TLD, tag library definition) from Tomcat 7.0. I would assume something during Tomcat's course of TagLib scanning it would accessing struts. Hard to tell based on the info provided.

Deploying Activiti on JBoss 7 AS

I am just a "beginner" in JBoss, but was asked to deploy Activiti into it. After "googling" and reading the forum of Activiti I've understood that it is rather difficult but not impossible. I've found this post, made everything like written there, got the error about CDI, but I don't understand what should I do with the archive from Daniel Meyer's blog
You can use it as a skeleton/example for a project using Activiti engine.
Just checkout the code, change to one of programmatic or spring and mvn war. Then deploy target/<some>.war in AS7 and look at the console log for messages. You should see something like "Process engine ... is up and running!".

How to get Apache Tomcat running with jsp files?

I'm new to web servers and would appreciate your help. I was given JSP files (and some other css and javascript files) and I'm trying to figure out a way to quickly get these JSP files up and running on the Apache Tomcat server just to view them. I got the Tomcat server running using Eclipse, but now I'm not sure how I can run the JSP files. Do I need a web.xml file? I've looked at some examples of web.xml but I am not sure what pieces are needed.
If there is anything that you can give me to lead me in the right direction, it would be extremely helpful. Thanks in advance!
Have a look here: http://www.vogella.com/articles/EclipseWTP/article.html
In short:
Install the WTP extension and create a new Dynamic Web Project. Set the project to run with the Tomcat managed by Eclipse.
Then copy your JSPs to the project and start Tomcat through Eclipse.
Maybe you can convert your existing project to a Dynamic Web Project.

Strut Framework

Recently i have completed my first project using strut framework. And i want to run the project in my web space (www.mywebsite.com) instead of running it as http://localhost . How do i run it in my website? Can someone guide me please.
Thanks
First, you need an application server, if your application only uses Servlet API (you don't have EJB's) I recommend you that install tomcat or jetty servers.
Second, you must package your application in a WAR file; depending on the build tool you are using, it probably offers you some facilites to do that
Third, deploy the WAR file in the application server

glassfish with jruby on rails: Modifing "glassfish is loading your application" page

I'm running glassfish gem with jruby on rails. I would like to modify "glassfish is loading your application" page with our startup page.
Is that possible for glassfish gem?
EDIT: Is that possible (and how) glassfish server?
Is this for glassfish application server, or glassfish gem? I know that it is possible with the latter.
At any rate, to do this on glassfish gem, you'd have to hack one of the jars that the gem ships. Basically, that startup page is hard coded in grizzly (I believe) somewhere, and that file resides in that jar. It's not a pretty process, and it is very brittle. For the minimal gain that you get for showing a customized page, which is shown for a very brief time, it is too much trouble to endure, in my opinion.
I'm sure this is possible with glassfish the server, and it might be similar, but I have not tried it myself.