How can I start BroadleafCommerce-develop-5.2.x application. How to deploy on Tomcat would be more helpful. I am able to start the Demo site- Admin, Site and API.
When building the app you can change the packaging type in your site and admin pom.xml to war instead of jar and then drop that in a tomcat instance. Additional documentation can be found here https://www.broadleafcommerce.com/docs/core/current/broadleaf-concepts/key-aspects-and-configuration/app-server-configuration/tomcat
Related
I uploaded my project to Bluemix using IBM Domino Designer, the XPages runtime started fine. During testing, I hit the URL and I received a message
"The application /gittest.nsf requires org.openntf.xsp.debugtoolbar.library. This library cannot be found."
I use a UpdateSite on premises and this application also uses jars in the lib\ext folder on the Domino server.
How do I deploy external jars with the XPages runtime?
How do I deploy my servers updatesite?
When I build locally, I have a c:\sharedlib folder where I have Spring Boot, Hibernate, a Service jar with DAO. In my designer, the project is configured to use the external jars. On the server, I have these jars in the lib\ext folder.
I also use some openNTF projects in UpdateSites (like the error sampled here).
Please advise!
You need to put all the osgi plugins in a folder named 'shared-plugins' this directory should be at the same level as the Manifest.yaml file in your project's deployments folder.
More details see the blog of Oliver Busse
http://oliverbusse.notesx.net/hp.nsf/blogpost.xsp?documentId=FD2
I am deploying my web application as an war in tomcat. I don't want my war and extracted folder inside tomcat webapps to be exposed to others. Since it can be easily decompiled.
Kindly provide solution for this issue.
I have installed IBM Bluemix tools on Eclipse and created a 'Hello World' JSF and EAR project. While creating I have chosen a Bluemix runtime environment. Now I try to deploy EAR from Eclipse, it successfully deployed and started but when I try to open it I get the following error:
Not Found The application or context root for this request has not been found: [Ljava.lang.Object;#bdb04149
What have I missed? Is there comprehensive tutorial to deploy Java EE web applications on Bluemix available anywhere?
You can deploy complete EAR files on Bluemix yes. Using the eclipse tools also makes it much easier. This link has steps on how you can do this https://www.ng.bluemix.net/docs/#manageapps/eclipsetools.html
Further down the page (you can use the menu on the left too) there are steps on how to push an EAR. It might be with pushing a complete Liberty profile to get finer control on the application behavior. This link has further details on pushing Liberty apps and the profile itself https://www.ng.bluemix.net/docs/#starters/liberty/index.html#liberty
If you deployed an EAR (containing your JSF app) you need to add the web module name to the URL, for example, if your project is called testJSF, your URL will look like this:
http://testApp.mybluemix.net/testJSF/
And of course, if your web page is not called index.xxx you need to add the web page name as well, for example:
http://testApp.mybluemix.net/testJSF/textPage.xhtml
or
http://testApp.mybluemix.net/testJSF/textPage.faces
I made a Java Web Application with Netbeans. I used JSF, PrimeFaces and the Glassfish Server. Now I want to put my application in a server but i just dont have idea of how to do that. I think fist of all have to install Glassfish in the server. How do I do that? The server i will be using has Windows Server 2008 Enterprise. Do I have to look for a .exe to install Glassfish? The same to do with Java? I have already done the connection to the SQL Server database so that part must work. So please explain me step by step what i have to have, how to install and configure everything and how to try if everything worked please.
Thanks for Your answers! :)
Depending on what your web application requires you will need to install more than just the glassfish server.
You need to install:
-Java jdk (required)
-Glassfish server (required)
-Database (if using one)
-Apache (if needed)
After you install everything, you need to deploy the war file of the application to the glassfish server. To do this you must first create a war file by 'cleaning and building' the app (option in netbeans). The war file will be located in one of the folders in the project.
Then you must log in to your glassfish admin console (located at http://localhost:4848 if run on localhost) and click on one of the options in the left menu that lets you manage the applications on the server. There will then be an option that lets you add war files to the server.
I would like to deploy my custom web application (.war) to the embedded Jetty container of Gridgain. Would you please direct me to documentation or describe steps?
Please advise.
Thanks.
GridGain embedded Jetty server was not intended to run user war applications, so there is no explicit logic for war file deployment.
However, according to this question, you might be able to deploy a war file by specifying $JETTY_HOME environment variable and dropping your war file to appropriate folder.